Skip to content

Commit

Permalink
Merge pull request #223823 from superherointj/k3s-startup-after-network
Browse files Browse the repository at this point in the history
nixos/k3s: start after network-online.target
  • Loading branch information
superherointj committed Mar 30, 2023
2 parents bf1a835 + a180470 commit b7fc729
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nixos/modules/services/cluster/k3s/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ in

systemd.services.k3s = {
description = "k3s service";
after = [ "network.service" "firewall.service" ];
wants = [ "network.service" "firewall.service" ];
after = [ "firewall.service" "network-online.target" ];
wants = [ "firewall.service" "network-online.target" ];
wantedBy = [ "multi-user.target" ];
path = optional config.boot.zfs.enabled config.boot.zfs.package;
serviceConfig = {
Expand Down

0 comments on commit b7fc729

Please sign in to comment.