Hi Brian I have just done what you advice me
and it works, it is ok now Thanks a lot Best Regards Nguyen Le lundi 13 mai 2019 16:23:51 UTC+2, Brian Coca a écrit : > > 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/14dd775b-cb24-4ccc-8091-771a9c12000f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
