From 2f4e9f67c428dc02d9a1cc69d70efe79fc242a91 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 6 Jul 2023 00:17:05 -0400 Subject: [PATCH] set log retention time per server --- systemd/journald.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd/journald.conf b/systemd/journald.conf index b7dd8aa..c3ff7ad 100644 --- a/systemd/journald.conf +++ b/systemd/journald.conf @@ -30,7 +30,7 @@ SystemMaxFiles=10000 #RuntimeKeepFree= #RuntimeMaxFileSize= #RuntimeMaxFiles=100 -MaxRetentionSec=10day +MaxRetentionSec={{journald_max_retention_sec}} MaxFileSec=1day #ForwardToSyslog=no #ForwardToKMsg=no