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]
|
[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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user