mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 15:53:33 +00:00 
			
		
		
		
	Removes force parameter from logrotate
This commit is contained in:
		| @@ -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.'); | ||||||
| 	}; | 	}; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user