servo: gitea: rate limit the restarts

This commit is contained in:
2025-01-21 11:31:32 +00:00
parent a7010f597d
commit 5740718d08

View File

@@ -113,6 +113,11 @@
ReadWritePaths = [
"/var/lib/postfix/queue/maildrop"
];
# rate limit the restarts to prevent systemd from disabling it
RestartSec = 5;
RestartMaxDelaySec = 30;
StartLimitBurst = 120;
RestartSteps = 5;
};
# services.openssh.settings.UsePAM = true; #< required for `git` user to authenticate