Brian Coca
unread,May 13, 2019, 10:23:51 AM5/13/19Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
You are calling sh while shell already does this, also the nohup is
inside the sh so it won't prevent the disconnection race condition,
you need to execute the nohup directly:
shell:nohup /home/neoload69/bin/ControllerAgent </dev/null >/dev/null 2>&1 &
Also, I don't recommend doing this if you really want to run
backgrounded services like this you should use a service manager
(init.d, systemd, runit, upstart, etc)
----------
Brian Coca