blob: 7264bd6b3e5abdf1ea2fffe86a359903cae6da0c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/sh
# $FreeBSD$
#
# PROVIDE: ircservices
# REQUIRE: LOGIN
# KEYWORDS: nojail shutdown
. %%RC_SUBR%%
name=ircservices
rcvar=${name}_enable
command="%%PREFIX%%/sbin/${name}"
pidfile="%%PREFIX%%/lib/services/${name}.pid"
required_files="%%PREFIX%%/lib/services/ircservices.conf \
%%PREFIX%%/lib/services/modules.conf"
load_rc_config ${name}
: ${ircservices_enable="NO"}
run_rc_command "$1"
|