14 lines
335 B
SYSTEMD
14 lines
335 B
SYSTEMD
|
[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
|