Skip to content

Commit

Permalink
Added the nolaunch parameter to the init scripts as per issue #1778
Browse files Browse the repository at this point in the history
  • Loading branch information
cianmcgovern committed Jan 26, 2012
1 parent ddc175f commit e182fb8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion init.fedora
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ nice=${SB_NICE-}
##

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
if [ ! -d $pidpath ]; then
Expand Down
2 changes: 1 addition & 1 deletion init.freebsd
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ status_cmd="${name}_status"
stop_cmd="${name}_stop"

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.
if [ ! -x "${WGET}" ]; then
Expand Down
2 changes: 1 addition & 1 deletion init.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ RUN_AS=SICKBEARD_USER
DATA_DIR=~/.sickbeard

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

Expand Down

0 comments on commit e182fb8

Please sign in to comment.