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