diff options
Diffstat (limited to 'meta-networking/recipes-support/dnsmasq/files/dnsmasq.service')
| -rw-r--r-- | meta-networking/recipes-support/dnsmasq/files/dnsmasq.service | 7 |
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] |
| 6 | Type=forking | 6 | Type=forking |
| 7 | PIDFile=/run/dnsmasq.pid | 7 | PIDFile=/run/dnsmasq.pid |
| 8 | ExecStart=/usr/bin/dnsmasq -x /run/dnsmasq.pid | 8 | ExecStartPre=/usr/sbin/dnsmasq --test |
| 9 | ExecReload=/bin/kill -HUP $(/bin/cat /run/dnsmasq.pid) | 9 | ExecStart=/etc/init.d/dnsmasq systemd-exec |
| 10 | ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf | ||
| 11 | ExecStopPre=/etc/init.d/dnsmasq systemd-stop-resolvconf | ||
| 12 | ExecReload=/bin/kill -HUP $MAINPID | ||
| 10 | 13 | ||
| 11 | [Install] | 14 | [Install] |
| 12 | WantedBy=multi-user.target | 15 | WantedBy=multi-user.target |
