nixos/sssd: explain why we use EnvironmentFile=
This commit is contained in:
parent
204d32c5c1
commit
5ec8223e63
1 changed files with 1 additions and 0 deletions
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue