summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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