Haha, I had almost the same thing :)

[Service]
ExecStartPre=/usr/sbin/lighttpd -t -f /etc/lighttpd/lighttpd.conf
ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1707312

Title:
  reload does not shut down lighttpd gracefully

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lighttpd/+bug/1707312/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to