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
This commit is contained in:
Patrick McLean
2017-06-06 14:05:42 -07:00
parent aeeb7f01cd
commit 8b6bb7a981

View File

@@ -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