dnsmasq: re-apply original Tomato specific code
[tomato.git] / release / src-rt-6.x.4708 / router / dnsmasq / contrib / guns / dnsmasq.service
blob045dcd2c8ddac931446d833844eccba50f5f0d45
1 [Unit]
2 Description=A lightweight DHCP and caching DNS server
3 Requires=network.target
4 After=network.target
6 [Service]
7 Type=simple
8 ExecStartPre=%%BINDIR%%/dnsmasq --test
9 ExecStart=%%BINDIR%%/dnsmasq --keep-in-foreground --listen-address=127.0.0.1
10 ExecReload=/usr/bin/kill -HUP $MAINPID
12 [Install]
13 WantedBy=multi-user.target