From 4af045f265c95e59908009b192ce6cd4205f5ca3 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 28 Feb 2009 02:39:21 +0100 Subject: Don't use --pidfile in init script --- scripts/connman.in | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.3