summaryrefslogtreecommitdiff
path: root/etc/rc.d/unbound
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/unbound')
-rw-r--r--etc/rc.d/unbound4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/unbound b/etc/rc.d/unbound
index 8f00694440e..c591b0b1b45 100644
--- a/etc/rc.d/unbound
+++ b/etc/rc.d/unbound
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $OpenBSD: unbound,v 1.1 2014/03/15 00:34:18 sthen Exp $
+# $OpenBSD: unbound,v 1.2 2014/12/29 11:17:43 ajacoutot Exp $
daemon="/usr/sbin/unbound"
daemon_flags="-c /var/unbound/etc/unbound.conf"
@@ -25,7 +25,7 @@ rc_pre() {
}
rc_start() {
- /usr/sbin/unbound-checkconf > /dev/null &&
+ /usr/sbin/unbound-checkconf > /dev/null && \
${rcexec} "unbound ${daemon_flags}"
}