Hi:

I'm attaching a patch that solves this issue in the init script.
I'm aware that it is not the best solution, it would be better that  
the program would write the pidfile on its own, but i think this is 
an upstream problem.

Besides, the last packaged version is 1.2.1, and last upstream
version is 1.2.2 (published 05/03/27).


Ana.

diff -Nrua and-1.2.1.orig/debian/and.init and-1.2.1/debian/and.init
--- and-1.2.1.orig/debian/and.init      2006-04-17 01:40:47.000000000 +0200
+++ and-1.2.1/debian/and.init   2006-04-17 01:55:20.000000000 +0200
@@ -20,8 +20,8 @@
   start)
        echo -n "Starting $DESC: "
        start-stop-daemon --start --quiet --background \
-               --make-pidfile --pidfile /var/run/$NAME.pid \
                --exec $DAEMON >/dev/null 2>&1
+       pidof -s and > /var/run/$NAME.pid
        echo "$NAME."
        ;;
   stop)

Reply via email to