fix(journal-upload): Increase restart delay
This commit is contained in:
parent
4333df563c
commit
f1e92c01c7
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,7 @@ let
|
|||
filterAttrs
|
||||
mapAttrsToList
|
||||
mkEnableOption
|
||||
mkForce
|
||||
mkIf
|
||||
;
|
||||
|
||||
|
@ -77,5 +78,8 @@ in
|
|||
Upload.URL = "http://${meta.network.storage01.netbirdIp}:9428/insert/journald";
|
||||
};
|
||||
};
|
||||
|
||||
# Don't restart too often to reduce e-mail notifications when the network or the database is down
|
||||
systemd.services.systemd-journal-upload.serviceConfig.RestartSec = mkForce 60;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue