[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#298585: Not a bug



Thomas Hood <jdthood@aglu.demon.nl> writes:

>> When start-stop-daemon is run with --stop and --pidfile, it does not
>> delete the old pidfile.
>
> True, but this is not necessarily a bug.
>
> The daemon should delete its own pidfile.
>
> Admittedly, many daemons fail to do this.  For such daemons the caller
> can simply do "rm -f $PIDFILE" after
> "start-stop-daemon --stop --pidfile $PIDFILE".

Why can't start-stop-daemon check the pidfile after stopping the
daemon and remove it if left around?

Also what happens when "-m|--make-pidfile" is used? In that case I
would think it is start-stop-daemons job to cleanup.

MfG
        Goswin



Reply to: