Hi,
I am using chef-client on ubuntu 12.04
I can not stop it and using runit. I try sv kill chef-client in it stops
then comes back up again.
Is there an issue will chef-client? I have never had this problem using
runit. only with chef-client
sv kill chef-client/
sv status chef-client/
run: chef-client/: (pid 9873) 4s; run: log: (pid 1248) 454910s
sv kill
just sends a signal to process, and runsv
will autorestart it.
Use sv down
or sv stop
if you want the process to stay down.
sv kill
is harmful in general, as it will send SIGKILL (equivalent of
kill -9
), not giving a child process a chance to clean up.
HTH,
-- Maciej
On 10 June 2013 10:29, David Montgomery davidmontgomery@gmail.com wrote:
Hi,
I am using chef-client on ubuntu 12.04
I can not stop it and using runit. I try sv kill chef-client in it stops
then comes back up again.
Is there an issue will chef-client? I have never had this problem using
runit. only with chef-client
sv kill chef-client/
sv status chef-client/
run: chef-client/: (pid 9873) 4s; run: log: (pid 1248) 454910s