diff options
Diffstat (limited to 'extra/dnsmasq/dnsmasq.service')
-rw-r--r-- | extra/dnsmasq/dnsmasq.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/dnsmasq/dnsmasq.service b/extra/dnsmasq/dnsmasq.service new file mode 100644 index 000000000..b09cb24b9 --- /dev/null +++ b/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/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 |