4 ms·
A unit file that wraps start-stop-daemon, has type=forking, and uses PID files. If it weren't a silly one-off on Hacker News, and if I hadn't already pointed o
by JdeBP 3y ago
A unit file that wraps start-stop-daemon, has type=forking, and uses PID files.
If it weren't a silly one-off on Hacker News, and if I hadn't already pointed out this foolishness years ago with exactly this service, it would be a prime candidate for the systemd House of Horror.
* https://unix.stackexchange.com/a/504374/5132 https://unix.stackexchange.com/a/504374/5132
* https://jdebp.uk/FGA/systemd-house-of-horror/ https://jdebp.uk/FGA/systemd-house-of-horror/
openrc-run is itself merely a shell script, by the way.
- ilyt 3y agoYeah nginx one could just use systemd itself to send sigquit. I'm guessing either author didn't read up on all the options or the option to customize signal in systemd was added later