Skip to content

Commit

Permalink
stopifChanged back to default
Browse files Browse the repository at this point in the history
  • Loading branch information
yomaq committed Apr 20, 2024
1 parent b42ff4c commit 00a25c5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions modules/hosts/network/nixos.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ in
systemd.services.NetworkManager-wait-online.enable = false;
systemd.network.wait-online.enable = false;

# FIXME: Maybe upstream?
# Do not take down the network for too long when upgrading,
# This also prevents failures of services that are restarted instead of stopped.
# It will use `systemctl restart` rather than stopping it with `systemctl stop`
# followed by a delayed `systemctl start`.
systemd.services.systemd-networkd.stopIfChanged = false;
# Services that are only restarted might be not able to resolve when resolved is stopped before
systemd.services.systemd-resolved.stopIfChanged = false;
# # FIXME: Maybe upstream?
# # Do not take down the network for too long when upgrading,
# # This also prevents failures of services that are restarted instead of stopped.
# # It will use `systemctl restart` rather than stopping it with `systemctl stop`
# # followed by a delayed `systemctl start`.
# systemd.services.systemd-networkd.stopIfChanged = false;
# # Services that are only restarted might be not able to resolve when resolved is stopped before
# systemd.services.systemd-resolved.stopIfChanged = false;
})
(mkIf cfg.useBr0 {
systemd.network = {
Expand Down

0 comments on commit 00a25c5

Please sign in to comment.