How can we start a program in the background and keep it running while logged off with ssh?
screen doesn’t work, everything is gone after logging out
“&” by itself or with “disown” doesn’t work
nohup sleep 600& doesn’t work
turning off “huponexit” doesn’t help
Excerpts from FusionCatalyst's message of 2012-06-05 06:45:50 +0200:
How can we start a program in the background and keep it running while
logged off with ssh?
screen doesn't work, everything is gone after logging out
"&" by itself or with "disown" doesn't work
nohup sleep 600& doesn't work
turning off "huponexit" doesn't help
any other ideas? Maybe a configuration somewhere?
I went into the same trouble, and the only solution I found was to
write a mydaemon.service for the package to put in /lib/systemd/system.
You can use another service file as example and you'll find some
tutorials in google.