summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-02-28 01:39:21 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2009-02-28 01:39:21 (GMT)
commit4af045f265c95e59908009b192ce6cd4205f5ca3 (patch)
tree4a97ecf68698ae6ffe28ef69dc3d849307efadd1 /scripts
parent28037643bd3275b6567fbfd84feee909cbfb5352 (diff)
downloadconnman-4af045f265c95e59908009b192ce6cd4205f5ca3.zip
connman-4af045f265c95e59908009b192ce6cd4205f5ca3.tar.gz
connman-4af045f265c95e59908009b192ce6cd4205f5ca3.tar.bz2
Don't use --pidfile in init script
Diffstat (limited to 'scripts')
-rw-r--r--scripts/connman.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/connman.in b/scripts/connman.in
index a67f667..ec98f39 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