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:
Ken Garland
2012-04-26 23:30:33 -03:00
parent b22763b37d
commit d1c2869f2c

View File

@@ -45,7 +45,7 @@ case "$1" in
start)
echo "Starting $DESC"
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
;;
stop)