#!/bin/sh # $TheSupernovaDuo$ # PROVIDE: yukari # REQUIRE: DAEMON NETWORKING # KEYWORD: shutdown . /etc/rc.subr name="yukari" rcvar="yukari_enable" load_rc_config "${name}" : ${yukari_enable="NO"} : ${yukari_config=""} pidfile="/var/run/${name}.pid" command="/usr/sbin/daemon" procname="/usr/local/bin/${name}" command_args="-S -m 3 -s info -l daemon -p ${pidfile} /usr/bin/env ${procname} ${yukari_args}" run_rc_command "$1"