summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2012-10-02 02:36:14 +0000
committerPatrick McLean <chutzpah@gentoo.org>2012-10-02 02:36:14 +0000
commite1bbf638c76e6d535cd4fb7a7458ad945424f6a3 (patch)
tree6ac38f7ba6da40cd19266d08e765868a958ac910 /net-dns/dnsmasq
parentBump patchset revision for bug 436904. Drop wide-unicode use flag. (diff)
downloadgentoo-2-e1bbf638c76e6d535cd4fb7a7458ad945424f6a3.tar.gz
gentoo-2-e1bbf638c76e6d535cd4fb7a7458ad945424f6a3.tar.bz2
gentoo-2-e1bbf638c76e6d535cd4fb7a7458ad945424f6a3.zip
Use kill -HUP instead of s-s-d for reloading (bug #436430).
(Portage version: 2.1.11.13/cvs/Linux x86_64)
Diffstat (limited to 'net-dns/dnsmasq')
-rw-r--r--net-dns/dnsmasq/ChangeLog5
-rw-r--r--net-dns/dnsmasq/files/dnsmasq-init-r25
2 files changed, 6 insertions, 4 deletions
diff --git a/net-dns/dnsmasq/ChangeLog b/net-dns/dnsmasq/ChangeLog
index 6102b0cd93d6..e6cc15807d72 100644
--- a/net-dns/dnsmasq/ChangeLog
+++ b/net-dns/dnsmasq/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-dns/dnsmasq
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/ChangeLog,v 1.222 2012/09/11 16:17:08 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/ChangeLog,v 1.223 2012/10/02 02:36:14 chutzpah Exp $
+
+ 02 Oct 2012; Patrick McLean <chutzpah@gentoo.org> files/dnsmasq-init-r2:
+ Use kill -HUP instead of s-s-d for reloading (bug #436430).
11 Sep 2012; Raúl Porcel <armin76@gentoo.org> dnsmasq-2.61.ebuild:
alpha/ia64/s390/sh/sparc/x86 stable wrt #433076
diff --git a/net-dns/dnsmasq/files/dnsmasq-init-r2 b/net-dns/dnsmasq/files/dnsmasq-init-r2
index 08e747d1534b..a15d1a6b4462 100644
--- a/net-dns/dnsmasq/files/dnsmasq-init-r2
+++ b/net-dns/dnsmasq/files/dnsmasq-init-r2
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/files/dnsmasq-init-r2,v 1.1 2012/03/07 21:59:19 chutzpah Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/files/dnsmasq-init-r2,v 1.2 2012/10/02 02:36:14 chutzpah Exp $
extra_started_commands="reload"
@@ -19,7 +19,6 @@ depend() {
reload() {
ebegin "Reloading ${SVCNAME}"
- start-stop-daemon --stop --oknodo --signal HUP \
- --exec ${command} --pidfile ${pidfile}
+ kill -HUP $(cat "${pidfile}")
eend $?
}