#!/bin/sh
#
# PROVIDE: ircservices
# REQUIRE: NETWORKING
#
# Add the following line to /etc/rc.conf to enable ircservices:
#
# ircservices_enable="YES"
#

ircservices_enable="${ircservices_enable-NO}"

. /etc/rc.subr

name=ircservices
rcvar=`set_rcvar`

prefix=/usr/local
command="${prefix}/sbin/ircservices"
ircservices_pidfile="${prefix}/lib/services/ircservices.pid"

load_rc_config ${name}
run_rc_command "$1"
