Try do disable multiple restart flags
This commit is contained in:
parent
89084ea75e
commit
732602c756
3 changed files with 11 additions and 11 deletions
|
@ -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 = {
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue