Fedora init fix #1009
This commit is contained in:
1 parent
e71da1f14d
commit
25f1b8c7a7
1 file changed
+1
-1
+1
-1
@@ -28,7 +28,7 @@ pidfile=${CP_PIDFILE-/var/run/couchpotato/couchpotato.pid}
|
|||||||
##
|
##
|
||||||
|
|
||||||
pidpath=`dirname ${pidfile}`
|
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
|
# create PID directory if not exist and ensure the couchpotato user can write to it
|
||||||
if [ ! -d $pidpath ]; then
|
if [ ! -d $pidpath ]; then
|
||||||
|
|||||||
Reference in new issue
Block a user