Save data to user dir
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ status_cmd="${name}_status"
|
||||
stop_cmd="${name}_stop"
|
||||
|
||||
command="/usr/sbin/daemon"
|
||||
command_args="-f -p ${couchpotato_pid} python ${couchpotato_dir}/couchpotato.py ${couchpotato_flags} --quiet"
|
||||
command_args="-f -p ${couchpotato_pid} python ${couchpotato_dir}/couchpotato.py ${couchpotato_flags}"
|
||||
|
||||
# Check for wget and refuse to start without it.
|
||||
if [ ! -x "${WGET}" ]; then
|
||||
|
||||
+1
-1
@@ -68,7 +68,7 @@
|
||||
<exec_method
|
||||
type='method'
|
||||
name='start'
|
||||
exec='/opt/couchpotato/CouchPotato.py -d'
|
||||
exec='/opt/couchpotato/CouchPotato.py --daemon'
|
||||
timeout_seconds='60'>
|
||||
</exec_method>
|
||||
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ APP_PATH=/usr/local/sbin/couchpotato
|
||||
DAEMON=/usr/bin/python
|
||||
|
||||
# startup args
|
||||
DAEMON_OPTS=" CouchPotato.py -q"
|
||||
DAEMON_OPTS=" CouchPotato.py"
|
||||
|
||||
# script name
|
||||
NAME=couchpotato
|
||||
|
||||
Reference in New Issue
Block a user