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 -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CACVha7dQqZz3qPo8TZQqfUAFURX3m23CCS7pem9gJzNTgHjCBw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
