summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2017-06-06 14:05:42 -0700
committerPatrick McLean <chutzpah@gentoo.org>2017-06-06 14:06:10 -0700
commit8b6bb7a9815c28cec303a9fb7ab533ed916d3fa5 (patch)
treee15f13d660bef98051555711adbb165ca93e1735 /net-dns
parentdev-perl/Digest-BubbleBabble: Fix '.' in @INC in 5.26 re bug #614336 (diff)
downloadgentoo-8b6bb7a9815c28cec303a9fb7ab533ed916d3fa5.tar.gz
gentoo-8b6bb7a9815c28cec303a9fb7ab533ed916d3fa5.tar.bz2
gentoo-8b6bb7a9815c28cec303a9fb7ab533ed916d3fa5.zip
net-dns/dnsmasq: initd: Use retry rather than start_stop_daemon_args
This prevents messages on start about retry arg not being supported for start. Gentoo-Bug: 619372 Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/dnsmasq/files/dnsmasq-init-r24
1 files changed, 2 insertions, 2 deletions
diff --git a/net-dns/dnsmasq/files/dnsmasq-init-r2 b/net-dns/dnsmasq/files/dnsmasq-init-r2
index acbd1477bc45..ed487b9fd1bb 100644
--- a/net-dns/dnsmasq/files/dnsmasq-init-r2
+++ b/net-dns/dnsmasq/files/dnsmasq-init-r2
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
extra_started_commands="reload"
@@ -7,7 +7,7 @@ extra_started_commands="reload"
pidfile="/var/run/dnsmasq.pid"
command="/usr/sbin/dnsmasq"
command_args="-x ${pidfile} ${DNSMASQ_OPTS}"
-start_stop_daemon_args="--retry TERM/3/TERM/5"
+retry="TERM/3/TERM/5"
depend() {
provide dns