mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-03 22:32:26 +03:00
sourcehut.gitsrht: 0.77.3 -> 0.78.18
This commit is contained in:
parent
43f856ab2c
commit
b57ed0fa1d
3 changed files with 44 additions and 44 deletions
|
@ -1086,6 +1086,11 @@ in
|
|||
};
|
||||
})
|
||||
];
|
||||
extraServices.gitsrht-api = {
|
||||
serviceConfig.Restart = "always";
|
||||
serviceConfig.RestartSec = "2s";
|
||||
serviceConfig.ExecStart = "${pkgs.sourcehut.gitsrht}/bin/gitsrht-api -b ${cfg.listenAddress}:${toString (cfg.git.port + 100)}";
|
||||
};
|
||||
extraServices.gitsrht-fcgiwrap = mkIf cfg.nginx.enable {
|
||||
serviceConfig = {
|
||||
# Socket is passed by gitsrht-fcgiwrap.socket
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue