forked from FF-RGB/ansible
mesh-interfaces: try to fix network target dependency problems
This commit is contained in:
parent
e8199d8dbf
commit
88122cc5ed
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user