aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/dnsmasq/files/dnsmasq.init
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2017-12-19 16:11:58 +0100
committerHans Dedecker <dedeckeh@gmail.com>2017-12-26 23:35:45 +0100
commit23bba9cb330cd298739a16e350b0029ed9429eef (patch)
treeea13d03c33a46bae2939629a9d42f287f90a0850 /package/network/services/dnsmasq/files/dnsmasq.init
parent4f02285d8b4a66359a8fa46f22a3efde391b5419 (diff)
downloadupstream-23bba9cb330cd298739a16e350b0029ed9429eef.tar.gz
upstream-23bba9cb330cd298739a16e350b0029ed9429eef.tar.bz2
upstream-23bba9cb330cd298739a16e350b0029ed9429eef.zip
dnsmasq: send procd signal on service reload
Send a SIGHUP signal via procd to the dnsmasq service so the instance(s) re-read(s) the /tmp/hosts/dhcp config. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'package/network/services/dnsmasq/files/dnsmasq.init')
-rw-r--r--package/network/services/dnsmasq/files/dnsmasq.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init
index 204e27d9cf..dcc18e34d7 100644
--- a/package/network/services/dnsmasq/files/dnsmasq.init
+++ b/package/network/services/dnsmasq/files/dnsmasq.init
@@ -1084,7 +1084,7 @@ start_service() {
reload_service() {
rc_procd start_service "$@"
- return 0
+ procd_send_signal dnsmasq "$@"
}
stop_service() {