Fix systemd unit startup order

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>
This commit is contained in:
nl6720
2019-10-30 09:55:27 +02:00
committed by Simon Kelley
parent 6ebdc95754
commit c117675ebd

View File

@@ -1,5 +1,8 @@
[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