local_unbound (278704) | local_unbound (283301) |
---|---|
1#!/bin/sh 2# | 1#!/bin/sh 2# |
3# $FreeBSD: head/etc/rc.d/local_unbound 278704 2015-02-13 20:49:43Z ngie $ | 3# $FreeBSD: head/etc/rc.d/local_unbound 283301 2015-05-22 21:33:13Z peter $ |
4# 5 6# PROVIDE: local_unbound 7# REQUIRE: FILESYSTEMS netif resolv 8# BEFORE: NETWORKING 9# KEYWORD: shutdown 10 11. /etc/rc.subr --- 8 unchanged lines hidden (view full) --- 20reload_precmd="local_unbound_configtest" 21anchor_cmd="local_unbound_anchor" 22configtest_cmd="local_unbound_configtest" 23setup_cmd="local_unbound_setup" 24pidfile="/var/run/${name}.pid" 25 26: ${local_unbound_workdir:=/var/unbound} 27: ${local_unbound_config:=${local_unbound_workdir}/unbound.conf} | 4# 5 6# PROVIDE: local_unbound 7# REQUIRE: FILESYSTEMS netif resolv 8# BEFORE: NETWORKING 9# KEYWORD: shutdown 10 11. /etc/rc.subr --- 8 unchanged lines hidden (view full) --- 20reload_precmd="local_unbound_configtest" 21anchor_cmd="local_unbound_anchor" 22configtest_cmd="local_unbound_configtest" 23setup_cmd="local_unbound_setup" 24pidfile="/var/run/${name}.pid" 25 26: ${local_unbound_workdir:=/var/unbound} 27: ${local_unbound_config:=${local_unbound_workdir}/unbound.conf} |
28: ${local_unbound_flags:=-c${local_unbound_config}} | 28: ${local_unbound_flags:="-c ${local_unbound_config}"} |
29: ${local_unbound_forwardconf:=${local_unbound_workdir}/forward.conf} 30: ${local_unbound_controlconf:=${local_unbound_workdir}/control.conf} 31: ${local_unbound_anchor:=${local_unbound_workdir}/root.key} 32: ${local_unbound_forwarders:=} 33 34load_rc_config $name 35 36do_as_unbound() --- 58 unchanged lines hidden --- | 29: ${local_unbound_forwardconf:=${local_unbound_workdir}/forward.conf} 30: ${local_unbound_controlconf:=${local_unbound_workdir}/control.conf} 31: ${local_unbound_anchor:=${local_unbound_workdir}/root.key} 32: ${local_unbound_forwarders:=} 33 34load_rc_config $name 35 36do_as_unbound() --- 58 unchanged lines hidden --- |