That essentially makes any action that involves a "stop" to be a graceful one via SIGINT, which is good. We don't have a solution for a plain "reload" issued via "service", though (misnamed as it is). Maybe we should use ExecReload in systemd and send a HUP signal to the service, effectively making this just like the sysv reopen-logs action. We can also change the logrotate script to use reload then. I'll do some more testing.
Haha, I had almost the same thing :)
[Service] /usr/sbin/ lighttpd -t -f /etc/lighttpd/ lighttpd. conf /usr/sbin/ lighttpd -D -f /etc/lighttpd/ lighttpd. conf
ExecStartPre=
ExecStart=
KillSignal=SIGINT
TimeoutStopSec=10
I was using 10s for testing :)
That essentially makes any action that involves a "stop" to be a graceful one via SIGINT, which is good. We don't have a solution for a plain "reload" issued via "service", though (misnamed as it is). Maybe we should use ExecReload in systemd and send a HUP signal to the service, effectively making this just like the sysv reopen-logs action. We can also change the logrotate script to use reload then. I'll do some more testing.