Switch lxc-dnsmasq to start before lxc

The current state of lxc-dnsmasq starts it after the network
subsystem is started (but not necessarily up) and it could
possibly start after lxc.  This changes things to reflect how
lxc-net upstream systemd file sets up dependencies[1].

[1]: https://github.com/lxc/lxc/blob/master/config/init/systemd/lxc-net.service.in

Change-Id: If378446333dd09e378b3acd297c58fd59ce04789
This commit is contained in:
Mohammed Naser 2018-06-05 12:35:20 -04:00
parent 78174d9d66
commit c5a8965557

View File

@ -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