3 ms·
Nah, screen's main use case is as an ad-hoc method to daemonise random scripts.
by jstanley 1y ago
Nah, screen's main use case is as an ad-hoc method to daemonise random scripts.
- fnordpiglet 1y agoYeah this is 100% of when I reach for screen. “I’m not willing/ready to make this a service, screen detach here I come”
- senderista 1y agoLet's see, we have at least daemonize[0], nohup[1], and disown[2] for that. Some discussion of the differences: https://unix.stackexchange.com/questions/3886/difference-between-nohup-disown-and https://unix.stackexchange.com/questions/3886/difference-bet... [0] https://github.com/bmc/daemonize https://github.com/bmc/daemonize [1] https://linux.die.net/man/1/nohup https://linux.die.net/man/1/nohup [2] https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#Job-Control-Builtins https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash....
- teddyh 1y agoA more modern alternative is systemd-run: <https://www.freedesktop.org/software/systemd/man/latest/systemd-run.html https://www.freedesktop.org/software/systemd/man/latest/syst...>