1 To: dnsmasq-discuss@lists.thekelleys.org.uk
\r
2 From: Alex Elsayed <eternaleye+usenet@gmail.com>
\r
3 Date: Tue, 15 May 2012 01:53:54 -0700
\r
4 Subject: [Dnsmasq-discuss] [PATCH] Support dbus activation
\r
6 Introduce dbus service file and turn dbus on in the systemd
\r
10 To add support for dbus activation, you must install the dbus
\r
11 service file (dbus/uk.org.thekelleys.dnsmasq.service) into
\r
12 $DATADIR/dbus-1/system-services.
\r
15 contrib/systemd/dnsmasq.service | 2 +-
\r
16 dbus/uk.org.thekelleys.dnsmasq.service | 7 +++++++
\r
17 2 files changed, 8 insertions(+), 1 deletion(-)
\r
18 create mode 100644 dbus/uk.org.thekelleys.dnsmasq.service
\r
20 diff --git a/contrib/systemd/dnsmasq.service
\r
21 b/contrib/systemd/dnsmasq.service
\r
22 index a27fe6d..4a784d3 100644
\r
23 --- a/contrib/systemd/dnsmasq.service
\r
24 +++ b/contrib/systemd/dnsmasq.service
\r
25 @@ -5,7 +5,7 @@ Description=A lightweight DHCP and caching DNS server
\r
27 BusName=uk.org.thekelleys.dnsmasq
\r
28 ExecStartPre=/usr/sbin/dnsmasq --test
\r
29 -ExecStart=/usr/sbin/dnsmasq -k
\r
30 +ExecStart=/usr/sbin/dnsmasq -k -1
\r
31 ExecReload=/bin/kill -HUP $MAINPID
\r
34 diff --git a/dbus/uk.org.thekelleys.dnsmasq.service
\r
35 b/dbus/uk.org.thekelleys.dnsmasq.service
\r
36 new file mode 100644
\r
37 index 0000000..f5fe98d
\r
39 +++ b/dbus/uk.org.thekelleys.dnsmasq.service
\r
42 +Name=uk.org.thekelleys.dnsmasq
\r
43 +Exec=/usr/sbin/dnsmasq -k -1
\r
45 +SystemdService=dnsmasq.service
\r
53 _______________________________________________
\r
54 Dnsmasq-discuss mailing list
\r
55 Dnsmasq-discuss@lists.thekelleys.org.uk
\r
56 http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
\r