1
0
Fork 0

Try do disable multiple restart flags

This commit is contained in:
Malte Brandy 2021-06-27 17:04:47 +02:00
parent 89084ea75e
commit 732602c756
3 changed files with 11 additions and 11 deletions

View file

@ -121,10 +121,10 @@ in
systemd = {
services = {
"container@chor-cloud" = {
serviceConfig.RestartSec = 10;
#serviceConfig.RestartSec = 10;
unitConfig = {
StartLimitIntervalSec = 30;
StartLimitBurst = 2;
#StartLimitIntervalSec = 30;
#StartLimitBurst = 2;
};
};
rss-server = {

View file

@ -18,12 +18,12 @@ in
systemd.services = {
rspamd = {
serviceConfig = {
Restart = "always";
RestartSec = 3;
#Restart = "always";
#RestartSec = 3;
};
unitConfig = {
StartLimitIntervalSec = 60;
StartLimitBurst = 15;
#StartLimitIntervalSec = 60;
#StartLimitBurst = 15;
};
};
};

View file

@ -136,12 +136,12 @@ in
unitConfig.X-StopOnRemoval = false;
serviceConfig = {
Type = "oneshot";
Restart = "on-failure";
RestartSec = 1;
#Restart = "on-failure";
#RestartSec = 1;
};
unitConfig = {
StartLimitIntervalSec = 360;
StartLimitBurst = 3;
#StartLimitIntervalSec = 360;
#StartLimitBurst = 3;
};
script =
let