Fix FreeBSD initscript to use interpreter properly

This commit is contained in:
Brett Pemberton 2017-09-13 15:34:08 +10:00
parent 15fa71e797
commit d9d75240e1

View file

@ -32,8 +32,9 @@ load_rc_config ${name}
: ${sickgear_datadir:="${sickgear_dir}"} : ${sickgear_datadir:="${sickgear_dir}"}
: ${sickgear_pidfile:="${sickgear_dir}/sickgear.pid"} : ${sickgear_pidfile:="${sickgear_dir}/sickgear.pid"}
command="/usr/local/bin/python" command="${sickgear_dir}/SickBeard.py"
command_args="${sickgear_dir}/SickBeard.py --daemon --pidfile ${sickgear_pidfile}" command_interpreter="/usr/local/bin/python"
command_args="--daemon --pidfile ${sickgear_pidfile}"
# Add datadir to the command if set # Add datadir to the command if set
[ ! -z "${sickgear_datadir}" ] && \ [ ! -z "${sickgear_datadir}" ] && \