Keeping a process running after SSH has been closed
Less than 1 minute
Keeping a process running after SSH has been closed
It is a question that has been asked by a guy in a Slack channel and piqued my curiosity. Thanks to DuckDuckGo the answer came alone:
# Instead of running a process as,
$ proc &
# Try to use:
$ nohup proc &
The nohup will prevent the process from being terminated when the terminal disconect. Another solution is using the screen command. You have some examples at thegeekstuff.com.