xenial is a confusing case, at least it was to me. The package has both
a sysv initscript and a systemd service file.

They don't have the same action parameters, though. The systemd service
has just start/stop/restart (which is stop+start). The sysv initscript
has a lot more.

Depending on what action is called, either the systemd definition or the
sysv initscript will be used :/

Start, stop and status, for example, are done via systemd. But reload,
since the systemd job has no such action, is taken from the sysv script.
That's my understanding at least.

But, we are fixing the reload action, so the sysv script is the right
place. That being said, after the fix, the "status" action is no longer
accurate. It reports the service as dead even though it's running.
Probably because of the pid change, so this is still messy.

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to