diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-02-28 02:39:21 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-02-28 02:39:21 +0100 |
commit | 4af045f265c95e59908009b192ce6cd4205f5ca3 (patch) | |
tree | 4a97ecf68698ae6ffe28ef69dc3d849307efadd1 | |
parent | 28037643bd3275b6567fbfd84feee909cbfb5352 (diff) | |
download | connman-4af045f265c95e59908009b192ce6cd4205f5ca3.tar.gz connman-4af045f265c95e59908009b192ce6cd4205f5ca3.tar.bz2 connman-4af045f265c95e59908009b192ce6cd4205f5ca3.zip |
Don't use --pidfile in init script
-rw-r--r-- | scripts/connman.in | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/connman.in b/scripts/connman.in index a67f6673..ec98f391 100644 --- a/scripts/connman.in +++ b/scripts/connman.in @@ -1,7 +1,6 @@ #!/bin/sh DAEMON=@prefix@/sbin/connmand -PIDFILE=@localstatedir@/run/connmand.pid DESC="Connection Manager" . /lib/lsb/init-functions @@ -13,13 +12,11 @@ fi set -e do_start() { - start-stop-daemon --start --oknodo \ - --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_OPTS + start-stop-daemon --start --oknodo --exec $DAEMON -- $DAEMON_OPTS } do_stop() { - start-stop-daemon --stop --oknodo --quiet \ - --pidfile $PIDFILE --exec $DAEMON + start-stop-daemon --stop --oknodo --quiet --exec $DAEMON } case "$1" in |