added touch and chown to the $PID_FILE

This commit is contained in:
David Stark
2015-01-12 17:37:26 +01:00
parent 1510e37652
commit 89836be1d1

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
;;