Compare commits

...

2 commits

Author SHA1 Message Date
chayleaf 5b0b925fe3 server/certspotter: fix state path 2023-10-25 14:54:46 +07:00
chayleaf ece8104cf2 server/gitea: further increase timeout 2023-10-25 06:30:32 +07:00
2 changed files with 3 additions and 3 deletions

View file

@ -231,8 +231,8 @@ in {
federation.ENABLED = true;
"git.timeout" = {
DEFAULT = 6000;
MIGRATE = 6000;
MIRROR = 6000;
MIGRATE = 60000;
MIRROR = 60000;
GC = 120;
};
mailer = {

View file

@ -106,7 +106,7 @@ in {
StateDirectory = "certspotter";
};
script = ''
export CERTSPOTTER_STATE_DIR="$STATE_DIR"
export CERTSPOTTER_STATE_DIR="$STATE_DIRECTORY"
cd "$CERTSPOTTER_STATE_DIR"
${pkgs.certspotter}/bin/certspotter -sendmail ${cfg.sendmailPath} ${lib.escapeShellArgs cfg.extraFlags}
'';