aboutsummaryrefslogtreecommitdiffstats
path: root/main
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
parent013acdde21b3242c3d9a76ac907655f34b4b6fb5 (diff)
downloadaports-6f620748adc35b3a96bee07a57c8b105ae031178.tar.bz2
aports-6f620748adc35b3a96bee07a57c8b105ae031178.tar.xz
main/unbound: create /var/run/unbound from init.d
Diffstat (limited to 'main')
-rw-r--r--main/unbound/APKBUILD4
-rw-r--r--main/unbound/unbound.initd1
2 files changed, 3 insertions, 2 deletions
diff --git a/main/unbound/APKBUILD b/main/unbound/APKBUILD
index 2a552a5517..161d5b5398 100644
--- a/main/unbound/APKBUILD
+++ b/main/unbound/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=unbound
pkgver=1.4.19
-pkgrel=1
+pkgrel=2
pkgdesc="Unbound is a validating, recursive, and caching DNS resolver"
pkgusers="unbound"
pkggroups="unbound"
@@ -97,4 +97,4 @@ cca28c13f9b835dfe94ea91012d76e2b swig.patch
c1c71cd0e7f9630536a2abf2513c675d update-unbound-root-hints
01abc5360897967be608eaf4ec1c25dc migrate-dnscache-to-unbound
d7a1cb305b7b5b72df4e574777f76723 root.hints
-ebf2b5f8e1be2c4dbec9c5fad1e0e0de unbound.initd"
+29f8a33fbe40ffb79dd1fb727e01af48 unbound.initd"
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 $?
}