treewide: deprecate ip-up.target (#18319)
Systemd upstream provides targets for networking. This also includes a target network-online.target. In this PR I remove / replace most occurrences since some of them were even wrong and could delay startup.
This commit is contained in:
committed by
Franz Pletz
parent
a28bbba6fc
commit
27bc34f1e4
@@ -142,7 +142,7 @@ in
|
||||
# (Flushing this interface may have removed it.)
|
||||
${config.systemd.package}/bin/systemctl try-restart --no-block network-setup.service
|
||||
fi
|
||||
${config.systemd.package}/bin/systemctl start ip-up.target
|
||||
${config.systemd.package}/bin/systemctl start network-online.target
|
||||
'';
|
||||
preStop = flip concatMapStrings (ips) (ip:
|
||||
let
|
||||
|
||||
Reference in New Issue
Block a user