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. ** Patch added: "lighttpd.service.patch" https://bugs.launchpad.net/ubuntu/+source/lighttpd/+bug/1721635/+attachment/4963163/+files/lighttpd.service.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1721635 Title: "reload" action breaks further actions To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lighttpd/+bug/1721635/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs