Private GIT

Skip to content
Snippets Groups Projects
Commit e182fb8d authored by cianmcgovern's avatar cianmcgovern
Browse files

Added the nolaunch parameter to the init scripts as per issue #1778

parent ddc175ff
Branches
Tags
No related merge requests found
...@@ -29,7 +29,7 @@ nice=${SB_NICE-} ...@@ -29,7 +29,7 @@ nice=${SB_NICE-}
## ##
pidpath=`dirname ${pidfile}` pidpath=`dirname ${pidfile}`
options=" --daemon --pidfile=${pidfile} --datadir=${datadir}" options=" --daemon --nolaunch --pidfile=${pidfile} --datadir=${datadir}"
# create PID directory if not exist and ensure the SickBeard user can write to it # create PID directory if not exist and ensure the SickBeard user can write to it
if [ ! -d $pidpath ]; then if [ ! -d $pidpath ]; then
......
...@@ -44,7 +44,7 @@ status_cmd="${name}_status" ...@@ -44,7 +44,7 @@ status_cmd="${name}_status"
stop_cmd="${name}_stop" stop_cmd="${name}_stop"
command="/usr/sbin/daemon" command="/usr/sbin/daemon"
command_args="-f -p ${sickbeard_pid} python ${sickbeard_dir}/SickBeard.py ${sickbeard_flags} --quiet" command_args="-f -p ${sickbeard_pid} python ${sickbeard_dir}/SickBeard.py ${sickbeard_flags} --quiet --nolaunch"
# Check for wget and refuse to start without it. # Check for wget and refuse to start without it.
if [ ! -x "${WGET}" ]; then if [ ! -x "${WGET}" ]; then
......
...@@ -34,7 +34,7 @@ RUN_AS=SICKBEARD_USER ...@@ -34,7 +34,7 @@ RUN_AS=SICKBEARD_USER
DATA_DIR=~/.sickbeard DATA_DIR=~/.sickbeard
# startup args # startup args
DAEMON_OPTS=" SickBeard.py -q --daemon --pidfile=${PID_FILE} --datadir=${DATA_DIR}" DAEMON_OPTS=" SickBeard.py -q --daemon --nolaunch --pidfile=${PID_FILE} --datadir=${DATA_DIR}"
############### END EDIT ME ################## ############### END EDIT ME ##################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment