From: Russ Allbery Date: Thu, 21 Jun 2007 09:16:48 +0000 (+0000) Subject: * Use --name instead of --exec in the openafs-fileserver init script so X-Git-Tag: debian/1.4.4.dfsg1-4~3 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=cc32dc107e4e9f93e5133f4848de0b1a9f4e2d96;p=packages%2Fo%2Fopenafs.git * Use --name instead of --exec in the openafs-fileserver init script so that we don't start a second bosserver on upgrades. --- diff --git a/debian/changelog b/debian/changelog index ec4834a0f..6c24804b8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Tue, 19 Jun 2007 04:03:44 -0700 + -- Russ Allbery Thu, 21 Jun 2007 02:18:44 -0700 openafs (1.4.4.dfsg1-3) unstable; urgency=low diff --git a/debian/openafs-fileserver.init b/debian/openafs-fileserver.init index 71ae2df47..a70ed053d 100755 --- a/debian/openafs-fileserver.init +++ b/debian/openafs-fileserver.init @@ -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."