Remove PID path

This commit is contained in:
Ruud Burger
2013-03-12 08:21:23 +01:00
parent 89bff73431
commit d111393bd6

View File

@@ -24,7 +24,6 @@ DAEMON=/usr/bin/python
# Path to store PID file
PID_FILE=/var/run/couchpotato.pid
PID_PATH=$(dirname $PID_FILE)
# script name
NAME=couchpotato
@@ -44,8 +43,6 @@ set -e
case "$1" in
start)
echo "Starting $DESC"
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
;;
stop)