summaryrefslogtreecommitdiffstats
path: root/abs/extra/dnsmasq/dnsmasq.service
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/dnsmasq/dnsmasq.service')
-rw-r--r--abs/extra/dnsmasq/dnsmasq.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/abs/extra/dnsmasq/dnsmasq.service b/abs/extra/dnsmasq/dnsmasq.service
new file mode 100644
index 0000000..05a1f0b
--- /dev/null
+++ b/abs/extra/dnsmasq/dnsmasq.service
@@ -0,0 +1,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