Browse Source

added missing section to journald.conf.d/retention.conf

Toastie 3 months ago
parent
commit
c099c2fdc9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      bootstrap-bookworm.sh

+ 1 - 0
bootstrap-bookworm.sh

@@ -266,6 +266,7 @@ systemctl enable systemd-resolved
 # Limit journald logging to 1 month, 1 GB in total and split files per week
 mkdir -p /etc/systemd/journald.conf.d/
 cat >/etc/systemd/journald.conf.d/retention.conf <<EOL
+[Journal]
 MaxRetentionSec=1month
 SystemMaxUse=1G
 MaxFileSec=1week