#!/bin/sh . /etc/rc.subr name="dichroism" title="Dichroism" rcvar="${name}_enable" 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"