Fedora init fix #1009

This commit is contained in:
Ruud
2012-11-02 18:32:15 +01:00
parent 212d64143c
commit 3ec2df5780

View File

@@ -28,7 +28,7 @@ pidfile=${CP_PIDFILE-/var/run/couchpotato/couchpotato.pid}
##
pidpath=`dirname ${pidfile}`
options=" --daemon --pid_file=${pidfile} --datadir=${datadir}"
options=" --daemon --pid_file=${pidfile} --data_dir=${datadir}"
# create PID directory if not exist and ensure the couchpotato user can write to it
if [ ! -d $pidpath ]; then