From 82a9dbe751565501437adb8978df5c10d37a1405 Mon Sep 17 00:00:00 2001 From: Andreas Kempe <kempe@lysator.liu.se> Date: Wed, 24 Mar 2021 20:39:49 +0100 Subject: [PATCH] hina: newsyslog: adjust to only keep four weeks of log --- files/hina/newsyslog.conf.d/nginx_access.conf | 4 ++-- files/hina/newsyslog.conf.d/rsyncd.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/hina/newsyslog.conf.d/nginx_access.conf b/files/hina/newsyslog.conf.d/nginx_access.conf index f0413d5..6b462db 100644 --- a/files/hina/newsyslog.conf.d/nginx_access.conf +++ b/files/hina/newsyslog.conf.d/nginx_access.conf @@ -1,2 +1,2 @@ -/var/log/nginx/access.log root:wheel 644 4 * $W1D0 J /var/run/nginx.pid SIGHUP -/var/log/nginx/error.log root:wheel 644 4 * $W1D0 J /var/run/nginx.pid SIGHUP +/var/log/nginx/access.log root:wheel 644 3 * $W1D0 J /var/run/nginx.pid SIGHUP +/var/log/nginx/error.log root:wheel 644 3 * $W1D0 J /var/run/nginx.pid SIGHUP diff --git a/files/hina/newsyslog.conf.d/rsyncd.conf b/files/hina/newsyslog.conf.d/rsyncd.conf index 6123ad1..adf8f5b 100644 --- a/files/hina/newsyslog.conf.d/rsyncd.conf +++ b/files/hina/newsyslog.conf.d/rsyncd.conf @@ -1 +1 @@ -/var/log/rsyncd.log root:wheel 644 4 * $W1D0 +/var/log/rsyncd.log root:wheel 644 3 * $W1D0 -- GitLab