[Bug 1246245] Re: proftpd service failed to restart

Francesco P. Lovergine frankie at debian.org
Sat May 10 08:14:39 UTC 2014


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



More information about the Pkg-proftpd-maintainers mailing list