Merge pull request #4513 from starkers/remotes/origin/develop

added touch and chown to the $PID_FILE
This commit is contained in:
Ruud Burger
2015-02-10 13:07:25 +01:00

View File

@@ -95,6 +95,8 @@ fi
case "$1" in
start)
touch $PID_FILE
chown $RUN_AS $PID_FILE
echo "Starting $DESC"
start-stop-daemon -d $APP_PATH -c $RUN_AS $EXTRA_SSD_OPTS --start --pidfile $PID_FILE --exec $DAEMON -- $DAEMON_OPTS
;;