nixos/sssd: explain why we use EnvironmentFile=

This commit is contained in:
Maximilian Bosch 2022-08-18 11:38:49 +02:00
parent 204d32c5c1
commit 5ec8223e63
No known key found for this signature in database
GPG key ID: 9A6EEA275CA5BE0A

View file

@ -99,6 +99,7 @@ in {
Type = "forking";
PIDFile = "/run/sssd.pid";
StateDirectory = baseNameOf dataDir;
# We cannot use LoadCredential here because it's not available in ExecStartPre
EnvironmentFile = lib.mkIf (cfg.environmentFile != null) cfg.environmentFile;
};
preStart = ''