commit: eacfcb7d6472e421d231023cd49c4449dc88bc74
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 26 07:32:36 2016 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Aug 26 07:32:48 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eacfcb7d
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 <AT> gentoo.org>
net-dns/nsd/files/nsd.initd-r1 | 2 ++
net-dns/nsd/{nsd-4.1.11-r1.ebuild => nsd-4.1.11-r2.ebuild} | 0
2 files changed, 2 insertions(+)
diff --git a/net-dns/nsd/files/nsd.initd-r1 b/net-dns/nsd/files/nsd.initd-r1
index ef81f9e..a503b84 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
similarity index 100%
rename from net-dns/nsd/nsd-4.1.11-r1.ebuild
rename to net-dns/nsd/nsd-4.1.11-r2.ebuild