Merge pull request #25467 from jammerful/shibservice
shibboleth-sp module: Set Config File Path for FastCGI Units
This commit is contained in:
commit
a91813023b
@ -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
Block a user