try to fix log rotation issues

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

No files matched your search

+4 -1
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
'';