diff --git a/Autostart-on-Debian.md b/Autostart-on-Debian.md index c2e09a3..8d81eab 100644 --- a/Autostart-on-Debian.md +++ b/Autostart-on-Debian.md @@ -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