mesh-interfaces: try to fix network target dependency problems

This commit is contained in:
Markus 2020-02-16 01:00:48 +01:00
parent e8199d8dbf
commit 88122cc5ed

View File

@ -1,7 +1,9 @@
[Unit] [Unit]
Description=ifupdown2 networking initialization Description=ifupdown2 networking initialization
Documentation=man:interfaces(5) man:ifup(8) man:ifdown(8) Documentation=man:interfaces(5) man:ifup(8) man:ifdown(8)
Wants=network.target DefaultDependencies=no
Before=shutdown.target
Conflicts=shutdown.target
[Service] [Service]
Type=oneshot Type=oneshot
@ -13,5 +15,4 @@ ExecStop=/usr/share/ifupdown2/sbin/start-networking stop
ExecReload=/usr/share/ifupdown2/sbin/start-networking reload ExecReload=/usr/share/ifupdown2/sbin/start-networking reload
[Install] [Install]
WantedBy=basic.target network.target multi-user.target WantedBy=basic.target network.target network-online.target shutdown.target
WantedBy=network-online.target