I put this question on stackoverflow, because I found lots of quesions on the topic here already.
Short introduction
Simply put, nohup
can be used to run apps in the background and keeps them running after the user logs off or the terminal or ssh session is closed e.g.
There are many example quesitons here on stackoverflow, like this or that.
My question is simple.
Why opt for nohup
, when there are options like upstart
, systemd
, ... which manage the app as service in a much more convenient way (runlevels, ...)?
Reading the many questions on similar topics, the only option seems to be nohup
. Almost never the answer is something like: "... use an upstart script, so it is all handled for you..."
I would mainly go with e.g. upstart
, except maybe for a quick and dirty test scenario.
Am I missing something important?