Skip to content
Snippets Groups Projects
Unverified Commit 673f40bd authored by chaptergy's avatar chaptergy
Browse files

Removes force parameter from logrotate

parent 56c317d2
No related branches found
No related tags found
No related merge requests found
......@@ -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.');
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment