debian/init.d: be more specific on uwsgi daemon (#29248)

This commit is contained in:
Thomas NOËL 2018-12-20 10:56:03 +01:00
parent 96f55405ac
commit 746c4c1a2b
1 changed files with 2 additions and 2 deletions

4
debian/chrono.init vendored
View File

@ -64,7 +64,7 @@ do_start()
# 0 if daemon has been started
# 1 if daemon was already running
# 2 if daemon could not be started
start-stop-daemon --start --quiet --exec $DAEMON -- \
start-stop-daemon --start --quiet --user $USER --exec $DAEMON -- \
$DAEMON_ARGS \
|| return 2
}
@ -124,7 +124,7 @@ case "$1" in
esac
;;
status)
status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
status_of_proc -p $PIDFILE "$DAEMON" "$NAME" && exit 0 || exit $?
;;
reload|force-reload)
#