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 authored and Simon Kelley committed 2019-10-30 21:50:23 +00:00
1 parent 6ebdc95754
commit c117675ebd
1 file changed
+3
+3
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