# HG changeset patch # User Heiko Schlittermann (JUMPER) # Date 1427879477 -7200 # Node ID 92cbdc24b0fdd82a696088843d5c88cf22230437 # Parent e66e9db8e83a6985bf1f7849c573addf7214ed82# Parent bd4aaf436891ea18b71fe3c9a42b2d9ac7b84726 [merged] the start/stop fixupds diff -r e66e9db8e83a -r 92cbdc24b0fd .hgignore --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgignore Wed Apr 01 11:11:17 2015 +0200 @@ -0,0 +1,5 @@ +syntax:glob +default +init.d +tele-watch +tele-watch.8.gz diff -r e66e9db8e83a -r 92cbdc24b0fd .hgsigs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgsigs Wed Apr 01 11:11:17 2015 +0200 @@ -0,0 +1,1 @@ +4dc0db29f353b0c13683aad8e92cc4c5750944af 0 iEYEABECAAYFAkz9b4kACgkQ7k6smEjQNZvSUgCg1ws1cEq8qCXyPlJDmXccfszRW34Anix7aNJxu2gbAxEFdqJA2mEgG399 diff -r e66e9db8e83a -r 92cbdc24b0fd init.d.in --- a/init.d.in Wed Apr 01 11:05:26 2015 +0200 +++ b/init.d.in Wed Apr 01 11:11:17 2015 +0200 @@ -49,7 +49,7 @@ # 0 if daemon has been started # 0 if daemon was already running # 2 if daemon could not be started - PID=$(pidof $NAME) && return 0 + PID=$(pidof "$NAME $WATCHPOINTS") && return 0 if [ ! $PID ]; then $DAEMON "$WATCHPOINTS" || return 2 @@ -67,7 +67,7 @@ # 0 if daemon was already stopped # 2 if daemon could not be stopped # other if a failure occurred - PID=$(pidof $NAME) || return 0 + PID=$(pidof "$NAME $WATCHPOINTS") || return 0 $DAEMON --kill || return 2 return 0