mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-11-22 10:42:47 +01:00
Updated Autostart on Debian (markdown)
parent
7c45f63266
commit
50fdb80cd1
@ -33,7 +33,7 @@ RUN_AS=nzbdrone
|
||||
DAEMON=/usr/bin/mono
|
||||
|
||||
# options for mono
|
||||
DAEMON_OPTS=" "
|
||||
DAEMON_OPTS=""
|
||||
|
||||
# Path to store PID file
|
||||
PID_PATH=/var/run/nzbdrone
|
||||
@ -48,10 +48,6 @@ test -x $DAEMON || { echo "$DAEMON must be executable."; exit 1; }
|
||||
|
||||
set -e
|
||||
|
||||
if [ ! -e ${PID_PATH} ]; then
|
||||
mkdir ${PID_PATH}
|
||||
fi
|
||||
|
||||
echo $NZBDRONE_PID > $PID_FILE
|
||||
|
||||
case "$1" in
|
||||
|
Loading…
Reference in New Issue
Block a user