try to fix log rotation issues

This commit is contained in:
Noah Masur
2024-07-02 13:42:50 +00:00
parent ff05b99fe1
commit 0bbbabd6e8
2 changed files with 14 additions and 3 deletions

View File

@ -4,7 +4,10 @@
# How long to keep journalctl entries
# This helps to make sure log disk usage doesn't grow too unwieldy
services.journald.extraConfig = ''
SystemMaxUse=100M
SystemMaxUse=4G
SystemKeepFree=10G
SystemMaxFileSize=128M
SystemMaxFiles=500
MaxFileSec=1month
MaxRetentionSec=2month
'';