1 |
commit: eacfcb7d6472e421d231023cd49c4449dc88bc74 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 26 07:32:36 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 26 07:32:48 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eacfcb7d |
7 |
|
8 |
net-dns/nsd: Another bugfix in new init script. |
9 |
|
10 |
Revbump so users get the fix. |
11 |
|
12 |
Package-Manager: portage-2.3.0 |
13 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
14 |
|
15 |
net-dns/nsd/files/nsd.initd-r1 | 2 ++ |
16 |
net-dns/nsd/{nsd-4.1.11-r1.ebuild => nsd-4.1.11-r2.ebuild} | 0 |
17 |
2 files changed, 2 insertions(+) |
18 |
|
19 |
diff --git a/net-dns/nsd/files/nsd.initd-r1 b/net-dns/nsd/files/nsd.initd-r1 |
20 |
index ef81f9e..a503b84 100755 |
21 |
--- a/net-dns/nsd/files/nsd.initd-r1 |
22 |
+++ b/net-dns/nsd/files/nsd.initd-r1 |
23 |
@@ -52,6 +52,8 @@ stop_pre() { |
24 |
} |
25 |
|
26 |
reload() { |
27 |
+ checkconfig || return $? |
28 |
+ pidfile="$(get_pidfile)" |
29 |
ebegin "Reloading config and zone files" |
30 |
kill -s HUP $(cat ${pidfile}) |
31 |
eend $? |
32 |
|
33 |
diff --git a/net-dns/nsd/nsd-4.1.11-r1.ebuild b/net-dns/nsd/nsd-4.1.11-r2.ebuild |
34 |
similarity index 100% |
35 |
rename from net-dns/nsd/nsd-4.1.11-r1.ebuild |
36 |
rename to net-dns/nsd/nsd-4.1.11-r2.ebuild |