>>>>> "Greg" == greg  <[EMAIL PROTECTED]> 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/


_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to