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
This commit is contained in:
parent
c42f9a81ef
commit
d8c1977bb5
|
@ -53,6 +53,7 @@ in {
|
||||||
after = [ "network.target" ];
|
after = [ "network.target" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
path = [ "${pkgs.spawn_fcgi}" ];
|
path = [ "${pkgs.spawn_fcgi}" ];
|
||||||
|
environment.SHIBSP_CONFIG = "${cfg.configFile}";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${pkgs.spawn_fcgi}/bin/spawn-fcgi -n -p ${toString cfg.fastcgi.shibResponderPort} ${pkgs.shibboleth-sp}/lib/shibboleth/shibresponder";
|
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" ];
|
after = [ "network.target" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
path = [ "${pkgs.spawn_fcgi}" ];
|
path = [ "${pkgs.spawn_fcgi}" ];
|
||||||
|
environment.SHIBSP_CONFIG = "${cfg.configFile}";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${pkgs.spawn_fcgi}/bin/spawn-fcgi -n -p ${toString cfg.fastcgi.shibAuthorizerPort} ${pkgs.shibboleth-sp}/lib/shibboleth/shibauthorizer";
|
ExecStart = "${pkgs.spawn_fcgi}/bin/spawn-fcgi -n -p ${toString cfg.fastcgi.shibAuthorizerPort} ${pkgs.shibboleth-sp}/lib/shibboleth/shibauthorizer";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue