After reading man start-stop-daemon I found the problem.

"... schedule is a list of at least two items separated by slashes (/);
each item may be -signal-number or [-]signal-name, which means to send
that signal, or timeout, which means to wait that many seconds for
processes to exit ..."

"If a schedule is specified, then any signal specified with --signal is
ignored"

So a solution would be to remove "--signal INT" and change "--
retry=TERM/60/KILL/5" to "--retry=INT/60/KILL/5".

On my system it works as expected after these changes.

** Patch added: "lighttpd.diff"
   
https://bugs.launchpad.net/ubuntu/+source/lighttpd/+bug/1707312/+attachment/4923345/+files/lighttpd.diff

-- 
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