[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nohup in shellcommands: cfengine waits indefinitely
From: |
Adrian Phillips |
Subject: |
Re: nohup in shellcommands: cfengine waits indefinitely |
Date: |
Fri, 18 Mar 2005 11:09:09 +0100 |
User-agent: |
Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3 (gnu/linux) |
>>>>> "Greg" == greg <greg@doodoo.darktech.org> writes:
Greg> Hello there, I have a startup script that I'd like to run
Greg> whith shellcommands. This script uses nohup to run the
Greg> binary file:
Greg> #!/bin/shell [...] su - ${user} -c "nohup /opt/foo/bin/bar
Greg> &" exit 0
Greg> In my cfagent.cfg file:
Greg> shellcommands:
Greg> "/my/init/script start"
Greg> The problem is: when I run cfagent, it "waits" for
Do a google for daemonize - you need to make sure the background
process is completely disassociated with cfagent.
Sincerely,
Adrian Phillips
--
Who really wrote the works of William Shakespeare ?
http://www.pbs.org/wgbh/pages/frontline/shakespeare/