This patch for lighttpd.service file changes default signal systemd sends to lighttpd when stopping service. It also sets a 60 seconds timeout after that SIGKILL will be sent to lighttpd and it's children if they survive first SIGINT. This makes `systemctl force-reload lighttpd.service` do a graceful restart, so using /etc/init.d/lighttpd is not even needed.
It's also a good idea to remove "reload" action from /etc/init.d/lighttpd completely because it's not supposed to be there, lighttpd doesn't support it.
Hello,
This patch for lighttpd.service file changes default signal systemd sends to lighttpd when stopping service. It also sets a 60 seconds timeout after that SIGKILL will be sent to lighttpd and it's children if they survive first SIGINT. This makes `systemctl force-reload lighttpd.service` do a graceful restart, so using /etc/init. d/lighttpd is not even needed.
It's also a good idea to remove "reload" action from /etc/init. d/lighttpd completely because it's not supposed to be there, lighttpd doesn't support it.