Skip to content

Commit

Permalink
nixos/authelia: start after network-online.target (#353542)
Browse files Browse the repository at this point in the history
  • Loading branch information
NetaliDev authored Nov 8, 2024
2 parents 8db8859 + c5450fc commit b769f67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nixos/modules/services/security/authelia.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit b769f67

Please sign in to comment.