summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2023-11-16 21:27:50 -0500
committerDavid Thompson <dthompson2@worcester.edu>2023-11-16 21:27:50 -0500
commitc3afb56d250409bcd4b98ecc5c50d9bda7d52131 (patch)
tree9ad2cf21bd475dfe8cdae18346d6dad385df9343
parente2bcb0048fcd07d7135607eeb60236bae821c07f (diff)
takemi: os: Store nginx log archives in /var/log/nginx.
-rw-r--r--takemi-os.scm3
1 files changed, 2 insertions, 1 deletions
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