nixos/k3s: Change dependency to network.service
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
parent
4db9d279c4
commit
0b7c8b92f4
|
@ -78,8 +78,8 @@ in
|
|||
|
||||
systemd.services.k3s = {
|
||||
description = "k3s service";
|
||||
after = [ "network-online.service" "firewall.service" ] ++ (optional cfg.docker "docker.service");
|
||||
wants = [ "network-online.service" "firewall.service" ];
|
||||
after = [ "network.service" "firewall.service" ] ++ (optional cfg.docker "docker.service");
|
||||
wants = [ "network.service" "firewall.service" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
# See: https://github.com/rancher/k3s/blob/dddbd16305284ae4bd14c0aade892412310d7edc/install.sh#L197
|
||||
|
|
Loading…
Reference in a new issue