Removed RUN_AS for group, don't assume the default group is the same as the username. Specifying group is not needed anyways.
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ case "$1" in
|
|||||||
start)
|
start)
|
||||||
echo "Starting $DESC"
|
echo "Starting $DESC"
|
||||||
rm -rf $PID_PATH || return 1
|
rm -rf $PID_PATH || return 1
|
||||||
install -d --mode=0755 -o $RUN_AS -g $RUN_AS $PID_PATH || return 1
|
install -d --mode=0755 -o $RUN_AS $PID_PATH || return 1
|
||||||
start-stop-daemon -d $APP_PATH -c $RUN_AS --start --background --pidfile $PID_FILE --exec $DAEMON -- $DAEMON_OPTS
|
start-stop-daemon -d $APP_PATH -c $RUN_AS --start --background --pidfile $PID_FILE --exec $DAEMON -- $DAEMON_OPTS
|
||||||
;;
|
;;
|
||||||
stop)
|
stop)
|
||||||
|
|||||||
Reference in New Issue
Block a user