Order network management units after network-pre.target
Network management software should order itself after network-pre.target (man 7 systemd.special) so that other units can order themselves before the *beginning* of network initialization. (qubes-misc-post too because it calls setup-ip.) Relevant for QubesOS/qubes-issues#2108
This commit is contained in:
parent
191b2a4cd9
commit
ca03e093f7
@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=Qubes misc post-boot actions
|
||||
After=qubes-dvm.service qubes-mount-dirs.service
|
||||
After=network-pre.target qubes-dvm.service qubes-mount-dirs.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
@ -1,7 +1,7 @@
|
||||
[Unit]
|
||||
Description=Qubes network monitor
|
||||
ConditionPathExists=/var/run/qubes-service/qubes-netwatcher
|
||||
After=qubes-firewall.service
|
||||
After=network-pre.target qubes-firewall.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/qubes-netwatcher
|
||||
|
@ -2,7 +2,7 @@
|
||||
Description=Qubes network forwarding setup
|
||||
ConditionPathExists=/var/run/qubes-service/qubes-network
|
||||
Before=network.target
|
||||
After=qubes-iptables.service
|
||||
After=network-pre.target qubes-iptables.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
Loading…
Reference in New Issue
Block a user