Configure maximum size and timespan of journald logs

Closes #506
This commit is contained in:
Greg Karekinian
2025-05-21 11:24:15 +02:00
parent d00072ee5a
commit 3e2ee30334
3 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
[Journal]
# Set the maximum size of the journal logs in bytes
SystemMaxUse=<%= @system_max_use %>
# Set the number of days after which logs will be deleted
MaxRetentionSec=<%= @max_retention_sec %>