mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 02:08:24 +00:00
Order dnsmasq.service before network.target and after network-online.target & nss-lookup.target. Additionally pull in nss-lookup.target. This matches the behaviour of systemd-resolved and Unbound. Signed-off-by: nl6720 <nl6720@gmail.com>
16 lines
360 B
Desktop File
16 lines
360 B
Desktop File
[Unit]
|
|
Description=dnsmasq - A lightweight DHCP and caching DNS server
|
|
After=network.target
|
|
Before=network-online.target nss-lookup.target
|
|
Wants=nss-lookup.target
|
|
|
|
[Service]
|
|
Type=dbus
|
|
BusName=uk.org.thekelleys.dnsmasq
|
|
ExecStartPre=/usr/sbin/dnsmasq --test
|
|
ExecStart=/usr/sbin/dnsmasq -k
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|