Mimir also wants network-online.target

Thank you helpful eval warning
This commit is contained in:
Ilya K 2024-07-19 12:03:55 +03:00
parent 65b07a936b
commit 766dc4c383

View file

@ -89,6 +89,7 @@ in
# Mimir tries to determine its own IP address for gossip purposes, # Mimir tries to determine its own IP address for gossip purposes,
# even when it's the only instance, and fails if it can't find one. # even when it's the only instance, and fails if it can't find one.
# Avoid that by ensuring it starts after the network is set up. # Avoid that by ensuring it starts after the network is set up.
wants = [ "network-online.target" ];
after = ["network-online.target"]; after = ["network-online.target"];
serviceConfig.EnvironmentFile = [ config.age.secrets.mimir-environment.path ]; serviceConfig.EnvironmentFile = [ config.age.secrets.mimir-environment.path ];
}; };