sourcehut.gitsrht: 0.77.3 -> 0.78.18

This commit is contained in:
Julien Moutinho
2022-05-06 00:03:52 +02:00
committed by tomberek
parent 43f856ab2c
commit b57ed0fa1d
3 changed files with 44 additions and 44 deletions

View File

@@ -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