diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2017-06-07 15:01:36 -0700 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2017-06-07 15:02:20 -0700 |
commit | 2bf9206ad8deee811a369b08c8d9f4d00422a02e (patch) | |
tree | 4ad056a49ecabf11fc01f6afb3de0db3033873cd /net-dns/dnsmasq | |
parent | net-nntp/sabnzbd: bump 2.0.1 (diff) | |
download | gentoo-2bf9206ad8deee811a369b08c8d9f4d00422a02e.tar.gz gentoo-2bf9206ad8deee811a369b08c8d9f4d00422a02e.tar.bz2 gentoo-2bf9206ad8deee811a369b08c8d9f4d00422a02e.zip |
net-dns/dnsmasq: Update the DHCP version of the init script as well
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'net-dns/dnsmasq')
-rw-r--r-- | net-dns/dnsmasq/files/dnsmasq-init-dhcp-r1 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net-dns/dnsmasq/files/dnsmasq-init-dhcp-r1 b/net-dns/dnsmasq/files/dnsmasq-init-dhcp-r1 index f520d9327a56..b62630f7140b 100644 --- a/net-dns/dnsmasq/files/dnsmasq-init-dhcp-r1 +++ b/net-dns/dnsmasq/files/dnsmasq-init-dhcp-r1 @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2014 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 @@ -24,6 +24,6 @@ start_pre() { reload() { ebegin "Reloading ${RC_SVCNAME}" - kill -HUP $(cat "${pidfile}") + kill -HUP "$(cat "${pidfile}")" eend $? } |