summaryrefslogtreecommitdiff
path: root/chat/anope/files/anope.sh
blob: 564ac73d46c4286f8efc8d6e954bbb1831261721 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: anope.sh,v 1.1.1.1 2006/10/20 22:40:24 adrianp Exp $
#
# PROVIDE: anope
# REQUIRE: DAEMON
# KEYWORD: shutdown
#

if [ -f /etc/rc.subr ]
then
	. /etc/rc.subr
fi

name="anope"
rcvar=${name}
command="@PREFIX@/lib/anope/services"
required_files="@PREFIX@/lib/anope/services.conf"
anope_user="@ANOPE_USER@"
anope_group="@ANOPE_GROUP@"

load_rc_config $name
run_rc_command "$1"