diff options
Diffstat (limited to 'meta-networking/recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service')
| -rw-r--r-- | meta-networking/recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service | 15 |
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] | ||
| 2 | Description=DNS forwarder and DHCP server | ||
| 3 | After=network.target | ||
| 4 | |||
| 5 | [Service] | ||
| 6 | Type=forking | ||
| 7 | PIDFile=/run/dnsmasq.pid | ||
| 8 | ExecStartPre=/usr/bin/dnsmasq --test | ||
| 9 | ExecStart=/usr/bin/dnsmasq -x /run/dnsmasq.pid | ||
| 10 | ExecStop=/bin/kill $MAINPID | ||
| 11 | ExecReload=/bin/kill -HUP $MAINPID | ||
| 12 | |||
| 13 | [Install] | ||
| 14 | WantedBy=multi-user.target | ||
| 15 | |||
