debian/init.d: be more specific on uwsgi daemon (#29248)
This commit is contained in:
parent
96f55405ac
commit
746c4c1a2b
|
@ -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)
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue