source: hybrid/branches/releng-10/nanobsd/files/etc/rc.d/unbound@ 13056

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
15name="unbound"
16
17load_rc_config $name
18
19command="/usr/sbin/unbound"
20pidfile=${unbound_pidfile:-"/var/unbound/unbound.pid"}
21command_args=${unbound_flags:-"-c /var/unbound/unbound.conf"}
22extra_commands="reload"
23
24run_rc_command "$1"
Note: See TracBrowser for help on using the repository browser.