Thomas Hood <[EMAIL PROTECTED]> 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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to