diff options
Diffstat (limited to 'meta-networking/recipes-support/dnsmasq/files/dnsmasq.service')
-rw-r--r-- | meta-networking/recipes-support/dnsmasq/files/dnsmasq.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/dnsmasq/files/dnsmasq.service b/meta-networking/recipes-support/dnsmasq/files/dnsmasq.service new file mode 100644 index 000000000..549e15e2b --- /dev/null +++ b/meta-networking/recipes-support/dnsmasq/files/dnsmasq.service | |||
@@ -0,0 +1,13 @@ | |||
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 | ExecStart=/usr/bin/dnsmasq -x /run/dnsmasq.pid | ||
9 | ExecReload=/bin/kill -HUP $(/bin/cat /run/dnsmasq.pid) | ||
10 | |||
11 | [Install] | ||
12 | WantedBy=multi-user.target | ||
13 | |||