diff options
author | jammerful <jammerful@gmail.com> | 2017-05-02 19:55:11 -0400 |
---|---|---|
committer | jammerful <jammerful@gmail.com> | 2017-05-02 19:58:03 -0400 |
commit | d8c1977bb55a8db63e25b2ede84e25796f88d6b1 (patch) | |
tree | 57eb8c90963308156afed8a8ec5186a42e40bfd8 | |
parent | c42f9a81ef885c336aa6a195c4989b3098bc5459 (diff) | |
download | nixpkgs-d8c1977bb55a8db63e25b2ede84e25796f88d6b1.tar nixpkgs-d8c1977bb55a8db63e25b2ede84e25796f88d6b1.tar.gz nixpkgs-d8c1977bb55a8db63e25b2ede84e25796f88d6b1.tar.bz2 nixpkgs-d8c1977bb55a8db63e25b2ede84e25796f88d6b1.tar.lz nixpkgs-d8c1977bb55a8db63e25b2ede84e25796f88d6b1.tar.xz nixpkgs-d8c1977bb55a8db63e25b2ede84e25796f88d6b1.tar.zst nixpkgs-d8c1977bb55a8db63e25b2ede84e25796f88d6b1.zip |
shibboleth-sp module: Set Config File Path for FastCGI Units
Without this environment variable both shibauthorizer and shibresponder default to ${pkgs.shibboleth-sp}etc/shibboleth/shibboleth2.xml
-rw-r--r-- | nixos/modules/services/security/shibboleth-sp.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/security/shibboleth-sp.nix b/nixos/modules/services/security/shibboleth-sp.nix index 9659188349e..07acf27f0f6 100644 --- a/nixos/modules/services/security/shibboleth-sp.nix +++ b/nixos/modules/services/security/shibboleth-sp.nix @@ -53,6 +53,7 @@ in { after = [ "network.target" ]; wantedBy = [ "multi-user.target" ]; path = [ "${pkgs.spawn_fcgi}" ]; + environment.SHIBSP_CONFIG = "${cfg.configFile}"; serviceConfig = { ExecStart = "${pkgs.spawn_fcgi}/bin/spawn-fcgi -n -p ${toString cfg.fastcgi.shibResponderPort} ${pkgs.shibboleth-sp}/lib/shibboleth/shibresponder"; }; @@ -63,6 +64,7 @@ in { after = [ "network.target" ]; wantedBy = [ "multi-user.target" ]; path = [ "${pkgs.spawn_fcgi}" ]; + environment.SHIBSP_CONFIG = "${cfg.configFile}"; serviceConfig = { ExecStart = "${pkgs.spawn_fcgi}/bin/spawn-fcgi -n -p ${toString cfg.fastcgi.shibAuthorizerPort} ${pkgs.shibboleth-sp}/lib/shibboleth/shibauthorizer"; }; |