k3 git: use new fcgiwrap instances module

This commit is contained in:
lassulus 2024-09-08 01:02:49 +02:00
parent 7061e9c14d
commit 58ff754204

View File

@ -391,12 +391,14 @@ let
}; };
}; };
services.fcgiwrap = { services.fcgiwrap.instances.cgit = {
enable = true; enable = true;
user = cfg.cgit.fcgiwrap.user.name; process.user = cfg.cgit.fcgiwrap.user.name;
group = cfg.cgit.fcgiwrap.group.name; socket.user = cfg.cgit.fcgiwrap.user.name;
# socketAddress = "/run/fcgiwrap.sock" (default) process.group = cfg.cgit.fcgiwrap.group.name;
# socketType = "unix" (default) socket.group = cfg.cgit.fcgiwrap.group.name;
socket.address = "/run/fcgiwrap.sock";
# socket.type = "unix" (default)
}; };
environment.etc."cgitrc".text = let environment.etc."cgitrc".text = let