From 673f40bd857795a7eeeb7a6997ec58ee74407d10 Mon Sep 17 00:00:00 2001 From: chaptergy Date: Fri, 9 Jul 2021 12:34:50 +0200 Subject: [PATCH] Removes force parameter from logrotate --- backend/setup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/setup.js b/backend/setup.js index 5e7695d7..44673b37 100644 --- a/backend/setup.js +++ b/backend/setup.js @@ -210,7 +210,7 @@ const setupLogrotation = () => { const intervalTimeout = 1000 * 60 * 60 * 24 * 2; // 2 days const runLogrotate = async () => { - await utils.exec('logrotate -f /etc/logrotate.d/nginx-proxy-manager'); + await utils.exec('logrotate /etc/logrotate.d/nginx-proxy-manager'); logger.info('Logrotate completed.'); };