]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Also drop --pidfile from the openafs-fileserver init script, since this
authorRuss Allbery <rra@debian.org>
Thu, 21 Jun 2007 09:34:55 +0000 (09:34 +0000)
committerRuss Allbery <rra@debian.org>
Thu, 21 Jun 2007 09:34:55 +0000 (09:34 +0000)
option is for when the daemon writes out its own PID file and bosserver
doesn't do that.

debian/openafs-fileserver.init

index a70ed053d8f5587f4fc5a1f89dcb88ffe7820d8f..bfe35e560fe4fc0a86209912baa52947b20ce0bf 100755 (executable)
@@ -41,8 +41,8 @@ exec </dev/null
 case "$1" in
   start)
        echo -n "Starting $DESC: "
-       start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
-               --name bosserver --startas $DAEMON -- $DAEMON_ARGS
+       start-stop-daemon --start --quiet --name bosserver \
+               --startas $DAEMON -- $DAEMON_ARGS
        echo "$NAME."
        ;;
   stop)
@@ -74,8 +74,8 @@ case "$1" in
         if pidof $DAEMON > /dev/null ; then
             bos restart localhost -localauth -bos
         else
-            start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
-                --name bosserver --startas $DAEMON -- $DAEMON_ARGS
+            start-stop-daemon --start --quiet --name bosserver \
+               --startas $DAEMON -- $DAEMON_ARGS
         fi
        sleep 1
        echo "$NAME."