Fedora wrong pidfile arg

This commit is contained in:
Ruud
2012-07-14 17:31:29 +02:00
parent 6577a59ce2
commit 7c687d4d6b

View File

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