Revert "Revert "oran-shell-release: release image for F""
[pti/rtp.git] / meta-starlingx / meta-stx-integ / recipes-support / dnsmasq / dnsmasq / dnsmasq-resolvconf.service
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 -7 /etc/dnsmasq.d --local-service
10 ExecStartPost=/usr/bin/dnsmasq-resolvconf-helper start
11 ExecStopPre=/usr/bin/dnsmasq-resolvconf-helper stop
12 ExecStop=/bin/kill $MAINPID
13 ExecReload=/bin/kill -HUP $MAINPID
14
15 [Install]
16 WantedBy=multi-user.target
17