summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-08-26 09:32:36 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-08-26 09:32:48 +0200
commiteacfcb7d6472e421d231023cd49c4449dc88bc74 (patch)
tree4991190b0982768963075d8f88edeada2ca8f417 /net-dns/nsd
parentmedia-fonts/roboto: add upstream github metadata (diff)
downloadgentoo-eacfcb7d6472e421d231023cd49c4449dc88bc74.tar.gz
gentoo-eacfcb7d6472e421d231023cd49c4449dc88bc74.tar.bz2
gentoo-eacfcb7d6472e421d231023cd49c4449dc88bc74.zip
net-dns/nsd: Another bugfix in new init script.
Revbump so users get the fix. Package-Manager: portage-2.3.0 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-dns/nsd')
-rwxr-xr-xnet-dns/nsd/files/nsd.initd-r12
-rw-r--r--net-dns/nsd/nsd-4.1.11-r2.ebuild (renamed from net-dns/nsd/nsd-4.1.11-r1.ebuild)0
2 files changed, 2 insertions, 0 deletions
diff --git a/net-dns/nsd/files/nsd.initd-r1 b/net-dns/nsd/files/nsd.initd-r1
index ef81f9e663e1..a503b848e1f4 100755
--- a/net-dns/nsd/files/nsd.initd-r1
+++ b/net-dns/nsd/files/nsd.initd-r1
@@ -52,6 +52,8 @@ stop_pre() {
}
reload() {
+ checkconfig || return $?
+ pidfile="$(get_pidfile)"
ebegin "Reloading config and zone files"
kill -s HUP $(cat ${pidfile})
eend $?
diff --git a/net-dns/nsd/nsd-4.1.11-r1.ebuild b/net-dns/nsd/nsd-4.1.11-r2.ebuild
index 3719d0f0ac27..3719d0f0ac27 100644
--- a/net-dns/nsd/nsd-4.1.11-r1.ebuild
+++ b/net-dns/nsd/nsd-4.1.11-r2.ebuild