servo: gitea: rate limit the restarts
This commit is contained in:
@@ -113,6 +113,11 @@
|
|||||||
ReadWritePaths = [
|
ReadWritePaths = [
|
||||||
"/var/lib/postfix/queue/maildrop"
|
"/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
|
# services.openssh.settings.UsePAM = true; #< required for `git` user to authenticate
|
||||||
|
Reference in New Issue
Block a user