blob: e4f9f0ab96bc987e91754322f066f2b2d2f590aa (
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"
#
. %%RC_SUBR%%
name=nntpcached
rcvar=`set_rcvar`
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"
|