Change FreeBSD initscript to use command_interpreter.

This commit is contained in:
Brett Pemberton 2017-09-13 15:34:08 +10:00 committed by JackDandy
parent 15fa71e797
commit 9befb3d939
2 changed files with 4 additions and 2 deletions

View file

@ -109,6 +109,7 @@
* Change prevent showing 'Mark download as bad and retry?' dialog when status doesn't require it
* Add warn icon indicator of abandoned IDs to "Manage" menu bar and "Manage/Show Processes" menu item
* Add shows that have no replacement ID can be ignored at "Manage/Show Processes", the menu bar warn icon hides if all are ignored
* Change FreeBSD initscript to use command_interpreter
[develop changelog]

View file

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