From ba08724d65a60c3b4de033a48d4670b262f74770 Mon Sep 17 00:00:00 2001 From: Usman Mahmood Date: Fri, 5 Jun 2015 00:16:53 -0400 Subject: [PATCH] Ensure path to PID exists (e.g. /var/run/nzbdrone). --- Autostart-on-Debian.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Autostart-on-Debian.md b/Autostart-on-Debian.md index 4281d8f..4559bd6 100644 --- a/Autostart-on-Debian.md +++ b/Autostart-on-Debian.md @@ -38,7 +38,7 @@ DAEMON_OPTS="" # Path to store PID file PID_PATH=/var/run/nzbdrone ############### END EDIT ME ################## - +mkdir -p ${PID_PATH} PID_FILE=${PID_PATH}/nzbdrone.pid EXENAME=`basename ${APP_PATH}/NzbDrone.exe` DESC=`basename ${APP_PATH}/NzbDrone.exe .exe`