summaryrefslogtreecommitdiff
path: root/extra/dnsmasq/dnsmasq.service
blob: b09cb24b99f83bc54989d4d35186243c344f4a23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=A lightweight DHCP and caching DNS server

[Service]
Type=dbus
BusName=uk.org.thekelleys.dnsmasq
ExecStartPre=/usr/sbin/dnsmasq --test
ExecStart=/usr/sbin/dnsmasq -k --enable-dbus --user=dnsmasq --pid-file
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target
Alias=dbus-uk.org.thekelleys.dnsmasq