Private GIT

Skip to content
Snippets Groups Projects
Commit af0cf523 authored by Ruud's avatar Ruud
Browse files

Fedora init script. closes #1399

parent 3908e006
Branches
No related tags found
No related merge requests found
......@@ -14,6 +14,11 @@
prog=couchpotato
lockfile=/var/lock/subsys/$prog
# Source couchpotato configuration
if [ -f /etc/sysconfig/couchpotato ]; then
. /etc/sysconfig/couchpotato
fi
## Edit user configuation in /etc/sysconfig/couchpotato to change
## the defaults
username=${CP_USER-couchpotato}
......@@ -22,11 +27,6 @@ datadir=${CP_DATA-~/.couchpotato}
pidfile=${CP_PIDFILE-/var/run/couchpotato/couchpotato.pid}
##
# Source couchpotato configuration
if [ -f /etc/sysconfig/couchpotato ]; then
. /etc/sysconfig/couchpotato
fi
pidpath=`dirname ${pidfile}`
options=" --daemon --pid_file=${pidfile} --data_dir=${datadir}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment