summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service')
-rw-r--r--meta-networking/recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service b/meta-networking/recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service
new file mode 100644
index 0000000000..cde2244c85
--- /dev/null
+++ b/meta-networking/recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service
@@ -0,0 +1,15 @@
1[Unit]
2Description=DNS forwarder and DHCP server
3After=network.target
4
5[Service]
6Type=forking
7PIDFile=/run/dnsmasq.pid
8ExecStartPre=/usr/bin/dnsmasq --test
9ExecStart=/usr/bin/dnsmasq -x /run/dnsmasq.pid
10ExecStop=/bin/kill $MAINPID
11ExecReload=/bin/kill -HUP $MAINPID
12
13[Install]
14WantedBy=multi-user.target
15