journald: set MaxRetentionSec
This commit is contained in:
parent
879393eda8
commit
172f9b72f3
5 changed files with 5 additions and 0 deletions
|
@ -80,6 +80,7 @@ in
|
|||
|
||||
services.journald.extraConfig = ''
|
||||
SystemMaxUse=512M
|
||||
MaxRetentionSec=7day
|
||||
'';
|
||||
|
||||
documentation = {
|
||||
|
|
|
@ -167,6 +167,7 @@ in
|
|||
|
||||
services.journald.extraConfig = ''
|
||||
SystemMaxUse=512M
|
||||
MaxRetentionSec=30day
|
||||
'';
|
||||
|
||||
documentation = {
|
||||
|
|
|
@ -133,6 +133,7 @@ in
|
|||
|
||||
services.journald.extraConfig = ''
|
||||
SystemMaxUse=1G
|
||||
MaxRetentionSec=30day
|
||||
'';
|
||||
|
||||
documentation = {
|
||||
|
|
|
@ -166,6 +166,7 @@ in
|
|||
|
||||
services.journald.extraConfig = ''
|
||||
SystemMaxUse=4G
|
||||
MaxRetentionSec=30day
|
||||
'';
|
||||
|
||||
services.zfs.autoScrub.enable = true;
|
||||
|
|
|
@ -99,6 +99,7 @@ in
|
|||
|
||||
services.journald.extraConfig = ''
|
||||
SystemMaxUse=512M
|
||||
MaxRetentionSec=7day
|
||||
'';
|
||||
|
||||
documentation = {
|
||||
|
|
Loading…
Reference in a new issue