k3 git: use new fcgiwrap instances module
This commit is contained in:
parent
7061e9c14d
commit
58ff754204
@ -391,12 +391,14 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
services.fcgiwrap = {
|
||||
services.fcgiwrap.instances.cgit = {
|
||||
enable = true;
|
||||
user = cfg.cgit.fcgiwrap.user.name;
|
||||
group = cfg.cgit.fcgiwrap.group.name;
|
||||
# socketAddress = "/run/fcgiwrap.sock" (default)
|
||||
# socketType = "unix" (default)
|
||||
process.user = cfg.cgit.fcgiwrap.user.name;
|
||||
socket.user = cfg.cgit.fcgiwrap.user.name;
|
||||
process.group = cfg.cgit.fcgiwrap.group.name;
|
||||
socket.group = cfg.cgit.fcgiwrap.group.name;
|
||||
socket.address = "/run/fcgiwrap.sock";
|
||||
# socket.type = "unix" (default)
|
||||
};
|
||||
|
||||
environment.etc."cgitrc".text = let
|
||||
|
Loading…
Reference in New Issue
Block a user