#!/bin/sh
# $FreeBSD: ports/irc/ircservices/files/ircservices.in,v 1.5 2012/11/17 05:58:28 svnexp Exp $
#
# PROVIDE: ircservices
# REQUIRE: LOGIN
# KEYWORDS: nojail shutdown

. /etc/rc.subr

name=ircservices
rcvar=ircservices_enable

command="/usr/local/sbin/${name}"
command_args="-dir=/usr/local/etc/ircservices"
pidfile="/var/run/${name}.pid"
required_files="/usr/local/etc/ircservices/ircservices.conf \
		/usr/local/etc/ircservices/modules.conf"

load_rc_config ${name}

: ${ircservices_enable="NO"}

run_rc_command "$1"
