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 debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to