1
0
Fork 0

journald: set MaxRetentionSec

This commit is contained in:
Daniel Kempkens 2023-10-11 14:41:14 +02:00
parent 879393eda8
commit 172f9b72f3
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
5 changed files with 5 additions and 0 deletions

View file

@ -80,6 +80,7 @@ in
services.journald.extraConfig = '' services.journald.extraConfig = ''
SystemMaxUse=512M SystemMaxUse=512M
MaxRetentionSec=7day
''; '';
documentation = { documentation = {

View file

@ -167,6 +167,7 @@ in
services.journald.extraConfig = '' services.journald.extraConfig = ''
SystemMaxUse=512M SystemMaxUse=512M
MaxRetentionSec=30day
''; '';
documentation = { documentation = {

View file

@ -133,6 +133,7 @@ in
services.journald.extraConfig = '' services.journald.extraConfig = ''
SystemMaxUse=1G SystemMaxUse=1G
MaxRetentionSec=30day
''; '';
documentation = { documentation = {

View file

@ -166,6 +166,7 @@ in
services.journald.extraConfig = '' services.journald.extraConfig = ''
SystemMaxUse=4G SystemMaxUse=4G
MaxRetentionSec=30day
''; '';
services.zfs.autoScrub.enable = true; services.zfs.autoScrub.enable = true;

View file

@ -99,6 +99,7 @@ in
services.journald.extraConfig = '' services.journald.extraConfig = ''
SystemMaxUse=512M SystemMaxUse=512M
MaxRetentionSec=7day
''; '';
documentation = { documentation = {