From d9d75240e13dc91e2c82386bdff12ef684143f61 Mon Sep 17 00:00:00 2001 From: Brett Pemberton Date: Wed, 13 Sep 2017 15:34:08 +1000 Subject: [PATCH] Fix FreeBSD initscript to use interpreter properly --- init-scripts/init.freebsd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init-scripts/init.freebsd b/init-scripts/init.freebsd index 93e005b6..a35cd504 100755 --- a/init-scripts/init.freebsd +++ b/init-scripts/init.freebsd @@ -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}" ] && \