[chef] Re: chef client will not stop


Chronological Thread 
  • From: Maciej Pasternacki < >
  • To:
  • Subject: [chef] Re: chef client will not stop
  • Date: Mon, 10 Jun 2013 11:22:56 +0200

`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 < " target="_blank"> > 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





Archive powered by MHonArc 2.6.16.

§