use consul -pid-file flag