diff --git a/init/ubuntu b/init/ubuntu
index 4b18bb74af46b2a14c22d3869680f1a5af2ba475..495efe6923ac9304fd92a0a28f7f4da0c0f0a332 100644
--- a/init/ubuntu
+++ b/init/ubuntu
@@ -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
@@ -45,7 +44,8 @@ case "$1" in
   start)
         echo "Starting $DESC"
         rm -rf $PID_FILE || return 1
-        install -d --mode=0755 -o $RUN_AS $PID_PATH || return 1
+        touch $PID_FILE
+        chown $RUN_AS $PID_FILE
         start-stop-daemon -d $APP_PATH -c $RUN_AS --start --background --pidfile $PID_FILE --exec $DAEMON -- $DAEMON_OPTS
         ;;
   stop)