From c3afb56d250409bcd4b98ecc5c50d9bda7d52131 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Thu, 16 Nov 2023 21:27:50 -0500 Subject: takemi: os: Store nginx log archives in /var/log/nginx. --- takemi-os.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/takemi-os.scm b/takemi-os.scm index a35793d..4308979 100644 --- a/takemi-os.scm +++ b/takemi-os.scm @@ -287,7 +287,8 @@ (frequency 'daily) (files '("/var/log/nginx/access.log" "/var/log/nginx/error.log")) - (options `( ;; Keep a week of logs. + (options `("packdir /var/log/nginx" + ;; Keep a week of logs. "rotate 6" ;; Run post-rotate once per ;; rotation rather than once -- cgit v1.2.3