diff options
author | lassulus <git@lassul.us> | 2024-09-08 01:02:49 +0200 |
---|---|---|
committer | lassulus <git@lassul.us> | 2024-09-08 01:02:49 +0200 |
commit | 58ff7542044daf5645961d38e58d49c294243f64 (patch) | |
tree | ba6e063fdfd9b52f0514cf6533e7bdeee790f3ca | |
parent | 7061e9c14dc44d028c36456535245889488ef95a (diff) |
k3 git: use new fcgiwrap instances module
-rw-r--r-- | krebs/3modules/git.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/krebs/3modules/git.nix b/krebs/3modules/git.nix index 961b217e1..9f289fba7 100644 --- a/krebs/3modules/git.nix +++ b/krebs/3modules/git.nix @@ -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 |