blob: dbec9bc1ff878d741915a929beec99614d895ee4 (
plain) (
blame)
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
|
#!/bin/sh
# PROVIDE: nntpcached
# REQUIRE: NETWORKING SERVERS
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable nntpcached:
#
# nntpcached_enable="YES"
#
. /etc/rc.subr
name=nntpcached
rcvar=nntpcached_enable
load_rc_config $name
command=%%PREFIX%%/sbin/nntpcached
required_files="%%PREFIX%%/etc/nntpcache/nntpcache.access %%PREFIX%%/etc/nntpcache/nntpcache.config %%PREFIX%%/etc/nntpcache/nntpcache.servers"
: ${nntpcached_enable="NO"}
run_rc_command "$1"
|