Browse Source

Fedora init fix #1009

tags/build/2.0.3
Ruud 13 years ago
parent
commit
25f1b8c7a7
  1. 2
      init/fedora

2
init/fedora

@ -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

Loading…
Cancel
Save