1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-22 02:32:51 +01:00

Updated Autostart on Debian (markdown)

Josh Enders 2015-01-31 22:35:09 -08:00
parent 50fdb80cd1
commit 30ad55b93b

@ -54,7 +54,7 @@ case "$1" in
start)
if [ -z "${NZBDRONE_PID}" ]; then
echo "Starting $DESC"
rm -rf ${PID_PATH:?} || return 1
rm -rf ${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 $EXENAME
else