On Mon, Jan 24, 2011 at 22:56:08 +0100, Dario Minnucci wrote:

> +case "$1" in
> +  start)
> +     if [ -f $PIDFILE ] ; then
> +             echo "$NAME daemon is already running." 
> +     else
> +             start_deamon
> +     fi
> +     ;;

Dario, this is still not correct.  Existence of the pid file alone is
not proof that the daemon is running.  You should remove this check, and
let start-stop-daemon handle this.

Cheers,
Julien


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to