summaryrefslogtreecommitdiff
path: root/net-dns/dnsmasq/files/dnsmasq.service-r1
blob: 8e313bcfd996860d1edfae364116131893a62b76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=A lightweight DHCP and caching DNS server
After=network.target

[Service]
Type=simple
ExecStartPre=/usr/sbin/dnsmasq --test
ExecStart=/usr/sbin/dnsmasq -k --user=dnsmasq --group=dnsmasq
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target