Seems it's not that simple to do a proper fix, since the same signal()
function is used for stop (TERM) and reload (HUP)

If you just add --retry to the first call to start-stop-daemon you will
break reload, since proftpd will be killed (--retry changes the
behaviour, now it's mission is to terminate the process, sending a
TERM/KILL schedule until pid file is gone)

Looks like the clean approach would be to separate stop and reload and
get rid of all the if/then/else dance and cascaded start-stop-daemon
calls

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

Title:
  proftpd service failed to restart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/proftpd-dfsg/+bug/1246245/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to