summaryrefslogtreecommitdiff
path: root/extra/dnsmasq/dnsmasq.service
blob: 05a1f0b69a68f813e47574ae573f6601b459afd7 (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/bin/dnsmasq --test
ExecStart=/usr/bin/dnsmasq -k --enable-dbus --user=dnsmasq --pid-file
ExecReload=/bin/kill -HUP $MAINPID

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