diff options
Diffstat (limited to 'usr/local/etc/rc.d/dichroism')
-rw-r--r-- | usr/local/etc/rc.d/dichroism | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/usr/local/etc/rc.d/dichroism b/usr/local/etc/rc.d/dichroism index fba6f7c..8b69d09 100644 --- a/usr/local/etc/rc.d/dichroism +++ b/usr/local/etc/rc.d/dichroism @@ -3,9 +3,14 @@ . /etc/rc.subr name="dichroism" +title="Dichroism" rcvar="${name}_enable" -command="/usr/local/bin/${name}" -start_cmd="cd /var/db/theglassyladies; ${command}" -load_rc_config $name +pidfile="/var/run/${name}.pid" +exec_path="/usr/local/bin/${name}" +output_file="/var/log/${name}.log" +command="/usr/sbin/daemon" +command_args="-r -t ${title} -o ${output_file} -P ${pidfile} ${exec_path}" +dichroism_chdir="/var/db/theglassyladies" +load_rc_config ${name} run_rc_command "$1" |