From 3ebb3beae911f211f029fc4df82357f6ae4fedf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de> Date: Mon, 13 Jan 2025 16:33:49 +0100 Subject: [PATCH] fix: use 'su' directive in logrotate config --- tasks/configure_logrotate.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/configure_logrotate.yml b/tasks/configure_logrotate.yml index 07bd4b9..807a629 100644 --- a/tasks/configure_logrotate.yml +++ b/tasks/configure_logrotate.yml @@ -33,6 +33,7 @@ compressoptions -9 uncompresscmd /usr/bin/lunzip compressext .lz + su root root {% endif %} validate: 'logrotate -d %s' notify: restart logrotate.service -- GitLab