blob: a01ba3867fb7a13a05e203805d2854efc07721b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/sh
# PROVIDE: anope
# REQUIRE: LOGIN mysql
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable anope:
# anope_enable=YES
#
. /etc/rc.subr
name=anope
rcvar=anope_enable
load_rc_config $name
: ${anope_enable:=NO}
: ${anope_user:=nobody}
command=%%PREFIX%%/anope/bin/services
pidfile=%%PREFIX%%/anope/data/services.pid
extra_commands=reload
run_rc_command "$1"
|