Accepting request 100647 from home:elvigia:branches:network

- --enable-dbus must be explicit in systemd unit
- default user is provided in config file or takes defaults on 
  group_and_isc.diff

- dnsmasq has dbus support, use it for systemd service.

OBS-URL: https://build.opensuse.org/request/show/100647
OBS-URL: https://build.opensuse.org/package/show/network/dnsmasq?expand=0&rev=28
This commit is contained in:
Uwe Gansert 2012-01-19 15:28:49 +00:00 committed by Git OBS Bridge
parent 123bb2c55a
commit 138204aee2
3 changed files with 18 additions and 4 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Jan 19 04:22:44 UTC 2012 - crrodriguez@opensuse.org
- --enable-dbus must be explicit in systemd unit
- default user is provided in config file or takes defaults on
group_and_isc.diff
-------------------------------------------------------------------
Wed Jan 18 21:34:25 UTC 2012 - crrodriguez@opensuse.org
- dnsmasq has dbus support, use it for systemd service.
-------------------------------------------------------------------
Fri Nov 25 13:14:41 CET 2011 - ug@suse.de

View File

@ -3,9 +3,11 @@ Description=DNS caching server.
After=syslog.target network.target
[Service]
Type=forking
PIDFile=/var/run/dnsmasq.pid
ExecStart=/usr/sbin/dnsmasq -u dnsmasq
Type=dbus
BusName=uk.org.thekelleys.dnsmasq
ExecStartPre=/usr/sbin/dnsmasq --test
ExecStart=/usr/sbin/dnsmasq --enable-dbus --keep-in-foreground
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target

View File

@ -1,7 +1,7 @@
#
# spec file for package dnsmasq
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed