From d1c2869f2cb4b3fac555cce732e92bb8fec97363 Mon Sep 17 00:00:00 2001 From: Ken Garland Date: Thu, 26 Apr 2012 23:30:33 -0300 Subject: [PATCH] Removed RUN_AS for group, don't assume the default group is the same as the username. Specifying group is not needed anyways. --- init/ubuntu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/ubuntu b/init/ubuntu index 8abc9e7..d6af148 100644 --- a/init/ubuntu +++ b/init/ubuntu @@ -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)