From b031b254878ad94f91c1724cac2b2b5e800961f7 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Tue, 9 Feb 2021 16:37:27 -0500 Subject: fixed dichroism startup --- usr/local/etc/rc.d/dichroism | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'usr/local/etc') 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" -- cgit v1.2.3