138204aee2
- --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
14 lines
303 B
Desktop File
14 lines
303 B
Desktop File
[Unit]
|
|
Description=DNS caching server.
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
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
|