2011-11-25 11:00:57 +00:00
|
|
|
[Unit]
|
|
|
|
Description=DNS caching server.
|
2013-04-22 11:29:22 +00:00
|
|
|
After=network.target
|
2011-11-25 11:00:57 +00:00
|
|
|
|
|
|
|
[Service]
|
2012-01-19 15:28:49 +00:00
|
|
|
Type=dbus
|
|
|
|
BusName=uk.org.thekelleys.dnsmasq
|
|
|
|
ExecStartPre=/usr/sbin/dnsmasq --test
|
2012-06-28 06:18:18 +00:00
|
|
|
ExecStart=/usr/sbin/dnsmasq --log-async --enable-dbus --keep-in-foreground
|
2012-01-19 15:28:49 +00:00
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
2014-11-10 16:14:27 +00:00
|
|
|
#### kills logging, so not enabled
|
|
|
|
# PrivateDevices=yes
|
|
|
|
####
|
2011-11-25 11:00:57 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|