]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
* Use --name instead of --exec in the openafs-fileserver init script so
authorRuss Allbery <rra@debian.org>
Thu, 21 Jun 2007 09:16:48 +0000 (09:16 +0000)
committerRuss Allbery <rra@debian.org>
Thu, 21 Jun 2007 09:16:48 +0000 (09:16 +0000)
  that we don't start a second bosserver on upgrades.

debian/changelog
debian/openafs-fileserver.init

index ec4834a0fa8b410a05dbafc105071085ce774779..6c24804b876b613838402201a5c2449d7f876a5f 100644 (file)
@@ -13,11 +13,13 @@ openafs (1.4.4.dfsg1-4) UNRELEASED; urgency=low
   * Move upserver and upclient to /usr/lib/openafs (from /usr/sbin) to
     match upstream's layout and for consistency with the other servers run
     via bosserver.
+  * Use --name instead of --exec in the openafs-fileserver init script so
+    that we don't start a second bosserver on upgrades.
   * Go back to using krb5-config.  The dependency problem has now been
     fixed on all platforms in the krb5 package and this is the preferred
     upstream method.
 
- -- Russ Allbery <rra@debian.org>  Tue, 19 Jun 2007 04:03:44 -0700
+ -- Russ Allbery <rra@debian.org>  Thu, 21 Jun 2007 02:18:44 -0700
 
 openafs (1.4.4.dfsg1-3) unstable; urgency=low
 
index 71ae2df47ee404e8aef9e2fdb2e6f67571dc1bfa..a70ed053d8f5587f4fc5a1f89dcb88ffe7820d8f 100755 (executable)
@@ -42,7 +42,7 @@ case "$1" in
   start)
        echo -n "Starting $DESC: "
        start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
-               --exec $DAEMON -- $DAEMON_ARGS
+               --name bosserver --startas $DAEMON -- $DAEMON_ARGS
        echo "$NAME."
        ;;
   stop)
@@ -75,7 +75,7 @@ case "$1" in
             bos restart localhost -localauth -bos
         else
             start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
-                --exec $DAEMON -- $DAEMON_ARGS
+                --name bosserver --startas $DAEMON -- $DAEMON_ARGS
         fi
        sleep 1
        echo "$NAME."