Forum: Cfengine Help
Subject: Re: Issue with action => background
Author: daveseff
Link to topic: https://cfengine.com/forum/read.php?3,20387,20391#msg-20391

Thanks Neil, That works better. Strange, however, I wonder if it still waits 
for the process to finish before cf-agent exits. 

# cfagent -IK
...
 -> Executing '/usr/local/ibAdmin/bin/update_cfengine_inventory' 
...(timeout=-678,owner=-1,group=-1)
 -> Completed execution of /usr/local/ibAdmin/bin/update_cfengine_inventory
 -> Link /var/cfengine3/failsafe/bin/cf-agent as promised

after several seconds....
 -> Completed execution of /usr/local/ibAdmin/bin/update_cfengine_inventory

So I'm guessing cf-agent can not 'fire and forget' in true fashion. I wanted to 
avoid hanging cf-agent if my external process hung.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to