summaryrefslogtreecommitdiff
path: root/usr/local/etc/rc.d/dichroism
blob: 8b69d093932d89dc92a1e66d9fa429b32bea9bdf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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"