diff options
Diffstat (limited to 'recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service')
-rw-r--r-- | recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service b/recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service new file mode 100644 index 0000000..0c64fab --- /dev/null +++ b/recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service @@ -0,0 +1,15 @@ +[Unit] +Description=DNS forwarder and DHCP server +After=network.target + +[Service] +Type=forking +PIDFile=/run/dnsmasq.pid +ExecStartPre=/usr/bin/dnsmasq --test +ExecStart=/usr/bin/dnsmasq -x /run/dnsmasq.pid -7 /etc/dnsmasq.d --local-service +ExecStop=/bin/kill $MAINPID +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target + |