mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-02 17:33:37 +00:00
Fix FreeBSD initscript to use interpreter properly
This commit is contained in:
parent
15fa71e797
commit
d9d75240e1
1 changed files with 3 additions and 2 deletions
|
@ -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}" ] && \
|
||||||
|
|
Loading…
Reference in a new issue