From b40963207dd4a7ed89622895f0e7d26bb2aaa656 Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Fri, 24 May 2024 22:44:09 +0200 Subject: [PATCH] rotate audit.log as well (#2639) fix https://github.com/nextcloud/vm/issues/2637 Signed-off-by: Daniel Hansson --- menu/nextcloud_configuration.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/menu/nextcloud_configuration.sh b/menu/nextcloud_configuration.sh index 1ab70767..1fbb088c 100644 --- a/menu/nextcloud_configuration.sh +++ b/menu/nextcloud_configuration.sh @@ -122,6 +122,11 @@ daily rotate 10 copytruncate } +$VMLOGS/audit.log { +daily +rotate 10 +copytruncate +} NEXTCLOUD_CONF # Set needed ownership for the Nextcloud log folder to work correctly