Removes force parameter from logrotate

This commit is contained in:
chaptergy 2021-07-09 12:34:50 +02:00
parent 56c317d223
commit 673f40bd85
No known key found for this signature in database
GPG Key ID: BDFB615E550409E7

View File

@ -210,7 +210,7 @@ const setupLogrotation = () => {
const intervalTimeout = 1000 * 60 * 60 * 24 * 2; // 2 days const intervalTimeout = 1000 * 60 * 60 * 24 * 2; // 2 days
const runLogrotate = async () => { 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.'); logger.info('Logrotate completed.');
}; };