On Tue, May 06, 2014 at 12:00:46PM -0000, Alexander Birkner wrote: > - fi > - if [ -f "$PIDFILE" ]; then > - start-stop-daemon --stop --signal $SIGNAL --quiet --pidfile > "$PIDFILE" > + fi > + if [ -f "$PIDFILE" ]; then > + start-stop-daemon --stop --signal $SIGNAL --quiet --pidfile > "$PIDFILE" > + sleep 1
Unfortunately this is non-solution because timing depends on current load. It just mitigates the issue, not solves it. And it is a non sense with systemd, which probably is able to manage better the whole process > - if [ $? = 0 ]; then > - log_end_msg 0 > - else > + if [ $? = 0 ]; then > + log_end_msg 0 > + else > --- > > Please, fix. > -- Francesco P. Lovergine -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs