Last change
on this file since 13056 was 12955, checked in by wouter, 10 years ago |
Unbound aangepast naar /var/unbound
|
-
Property svn:executable
set to
*
|
File size:
542 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 | #
|
---|
3 | # unbound freebsd startup rc.d script, modified from the named script.
|
---|
4 | # uses the default unbound installation path and pidfile location.
|
---|
5 | # copy this to /etc/rc.d/unbound
|
---|
6 | # and put unbound_enable="YES" into rc.conf
|
---|
7 | #
|
---|
8 |
|
---|
9 | # PROVIDE: unbound
|
---|
10 | # REQUIRE: SERVERS cleanvar
|
---|
11 | # KEYWORD: shutdown
|
---|
12 |
|
---|
13 | . /etc/rc.subr
|
---|
14 |
|
---|
15 | name="unbound"
|
---|
16 |
|
---|
17 | load_rc_config $name
|
---|
18 |
|
---|
19 | command="/usr/sbin/unbound"
|
---|
20 | pidfile=${unbound_pidfile:-"/var/unbound/unbound.pid"}
|
---|
21 | command_args=${unbound_flags:-"-c /var/unbound/unbound.conf"}
|
---|
22 | extra_commands="reload"
|
---|
23 |
|
---|
24 | run_rc_command "$1"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.