Am 25.06.2010 19:05, Olaf van der Spek schrieb:
> On Fri, Jun 25, 2010 at 6:58 PM, Stefan Bauer <stefan.ba...@cubewerk.de> 
> wrote:
>> Am 25.06.2010 18:57, Olaf van der Spek schrieb:
>>> I'd add --quiet to start-stop-daemon.
>> Its already there. Without the --quiet switch, the output is ways
>> more verbose.
> 
> Hmm, lighttpd has --quiet --oknodo and it doesn't show any warning the
> the daemon isn't running but the pidfile exists.

Could you please try to add this stanza to the mpt-status init-file
and test if the warning is gone?

Here is the example from lighttpd (log_end_msg is the important part):

        log_daemon_msg "Stopping $DESC" $NAME
        if start-stop-daemon --stop --retry 30 --oknodo --quiet \
            --pidfile $PIDFILE --exec $DAEMON
        then
            rm -f $PIDFILE
            log_end_msg 0
        else
            log_end_msg 1
        fi
        ;;

Stefan

-- 
Stefan Bauer -----------------------------------------
PGP: E80A 50D5 2D46 341C A887 F05D 5C81 5858 DCEF 8C34
-------- plzk.de - Linux - because it works ----------



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to