aboutsummaryrefslogtreecommitdiffstats
path: root/main/unbound/unbound.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-01-21 13:49:14 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-01-21 13:49:14 +0000
commit6f620748adc35b3a96bee07a57c8b105ae031178 (patch)
treef965a60468b5fab47003628e99ca86366f7e85d7 /main/unbound/unbound.initd
parent013acdde21b3242c3d9a76ac907655f34b4b6fb5 (diff)
downloadaports-6f620748adc35b3a96bee07a57c8b105ae031178.tar.gz
aports-6f620748adc35b3a96bee07a57c8b105ae031178.tar.bz2
aports-6f620748adc35b3a96bee07a57c8b105ae031178.tar.xz
main/unbound: create /var/run/unbound from init.d
Diffstat (limited to 'main/unbound/unbound.initd')
-rw-r--r--main/unbound/unbound.initd1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/unbound/unbound.initd b/main/unbound/unbound.initd
index 90deb23e4a..f8b2b46042 100644
--- a/main/unbound/unbound.initd
+++ b/main/unbound/unbound.initd
@@ -23,6 +23,7 @@ depend() {
}
checkconfig() {
+ checkpath --directory /var/run/unbound
UNBOUND_PIDFILE=$("${UNBOUND_CHECKCONF}" -o pidfile "${UNBOUND_CONFFILE}")
return $?
}