diff --git a/templates/lxc-dnsmasq-systemd-init.j2 b/templates/lxc-dnsmasq-systemd-init.j2 index a8d4d2a3..4ae2d9d7 100644 --- a/templates/lxc-dnsmasq-systemd-init.j2 +++ b/templates/lxc-dnsmasq-systemd-init.j2 @@ -2,8 +2,8 @@ [Unit] Description=lxc dnsmasq service -After=syslog.target -After=network.target +After=network-online.target +Before=lxc.service [Service] Type=simple