3 ms·
So many people quietly making .service files for their software who don’t even know what systemd is. Thanks Red Hat. https://stackoverflow.com/questions/401815
by nailer 4y ago
So many people quietly making .service files for their software who don’t even know what systemd is. Thanks Red Hat.
https://stackoverflow.com/questions/4018154/how-do-i-run-a-node-js-app-as-a-background-service#29042953 https://stackoverflow.com/questions/4018154/how-do-i-run-a-n...
- ilyt 4y agoSame people would make even worse sysv script. We had to fix dozens of those for subtle bugs...
- nailer 4y ago> even worse Oh I didn't mean sarcastically. .service files generally just work. Agreed that SysV files generally don't work and have a bunch of subtle bugs.
- CoolCold 4y agoor they put it into crontab via @reboot ... . Or they run it in screen/tmux, or they will run it from crontab via @reboot which will start screen/tmux session with sudo for specific user..that's what I've seen myself so far on Linux servers. I believe having simple structured unit files saved us from part of such setups at least. Another big part is [hidden] under Docker now. Seen nothing of that chaos on FreeBSD servers, but not cuz it's init system is superior, but cuz literally 0 presence on server market.