summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/dnsmasq/files/dnsmasq.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/dnsmasq/files/dnsmasq.service')
-rw-r--r--meta-networking/recipes-support/dnsmasq/files/dnsmasq.service7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta-networking/recipes-support/dnsmasq/files/dnsmasq.service b/meta-networking/recipes-support/dnsmasq/files/dnsmasq.service
index 549e15e2b2..c3637e142b 100644
--- a/meta-networking/recipes-support/dnsmasq/files/dnsmasq.service
+++ b/meta-networking/recipes-support/dnsmasq/files/dnsmasq.service
@@ -5,8 +5,11 @@ After=network.target
5[Service] 5[Service]
6Type=forking 6Type=forking
7PIDFile=/run/dnsmasq.pid 7PIDFile=/run/dnsmasq.pid
8ExecStart=/usr/bin/dnsmasq -x /run/dnsmasq.pid 8ExecStartPre=/usr/sbin/dnsmasq --test
9ExecReload=/bin/kill -HUP $(/bin/cat /run/dnsmasq.pid) 9ExecStart=/etc/init.d/dnsmasq systemd-exec
10ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf
11ExecStopPre=/etc/init.d/dnsmasq systemd-stop-resolvconf
12ExecReload=/bin/kill -HUP $MAINPID
10 13
11[Install] 14[Install]
12WantedBy=multi-user.target 15WantedBy=multi-user.target