[hamradio-commits] [dump1090-mutability] 09/172: Pass --name and --user during daemon start so that existing processes can be correctly identified.
Matteo F. Vescovi
mfv at moszumanska.debian.org
Sun Jan 28 13:45:40 UTC 2018
This is an automated email from the git hooks/post-receive script.
mfv pushed a commit to branch master
in repository dump1090-mutability.
commit 94aedbb635172a236d9917cb83f8938abff6d320
Author: Oliver Jowett <oliver at mutability.co.uk>
Date: Sat Dec 6 16:07:44 2014 +0000
Pass --name and --user during daemon start so that existing processes can be correctly identified.
---
debian/dump1090-mr.init | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/dump1090-mr.init b/debian/dump1090-mr.init
index cf03a31..96f0ae4 100644
--- a/debian/dump1090-mr.init
+++ b/debian/dump1090-mr.init
@@ -112,9 +112,9 @@ do_start()
return 2
fi
- start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
+ start-stop-daemon --start --quiet --pidfile $PIDFILE --name $NAME --user $DUMP1090_USER --exec $DAEMON --test > /dev/null \
|| return 1
- start-stop-daemon --start --quiet --pidfile $PIDFILE --chuid $DUMP1090_USER --make-pidfile --background --no-close --exec $DAEMON -- \
+ start-stop-daemon --start --quiet --pidfile $PIDFILE --name $NAME --user $DUMP1090_USER --chuid $DUMP1090_USER --make-pidfile --background --no-close --exec $DAEMON -- \
$ARGS >>$LOGFILE 2>&1 \
|| return 2
sleep 1
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/dump1090-mutability.git
More information about the pkg-hamradio-commits
mailing list