forked from mirrors/nixpkgs
nixos/privacyidea-ldap-proxy: use list for EnvironmentFile for mergeability
This commit is contained in:
parent
4adf26f018
commit
949c334ea9
|
@ -329,7 +329,7 @@ in
|
|||
Group = cfg.ldap-proxy.group;
|
||||
StateDirectory = "privacyidea-ldap-proxy";
|
||||
EnvironmentFile = mkIf (cfg.ldap-proxy.environmentFile != null)
|
||||
cfg.ldap-proxy.environmentFile;
|
||||
[ cfg.ldap-proxy.environmentFile ];
|
||||
ExecStartPre =
|
||||
"${pkgs.writeShellScript "substitute-secrets-ldap-proxy" ''
|
||||
${pkgs.envsubst}/bin/envsubst \
|
||||
|
|
Loading…
Reference in a new issue