nixos/authelia: start after network-online.target (#353542)

This commit is contained in:
Jenny
2024-11-08 09:00:14 +01:00
committed by GitHub
+2 -1
View File
@@ -308,7 +308,8 @@ in
{
description = "Authelia authentication and authorization server";
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
after = [ "network-online.target" ]; # Checks SMTP notifier creds during startup
wants = [ "network-online.target" ];
environment =
(lib.filterAttrs (_: v: v != null) {
X_AUTHELIA_CONFIG_FILTERS = lib.mkIf (oidcJwksConfigFile != [ ]) "template";