Change ENABLELOG and ENABLELOGCOMPRESS defaults to true

Fixed invalid default value for new log flags
This commit is contained in:
Toby Chui
2025-09-07 11:20:52 +08:00
committed by GitHub
parent b743e0ea28
commit afdcc71358

View File

@@ -92,8 +92,8 @@ def start_zoraxy():
f"-db={ getenv('DB', 'auto') }",
f"-docker={ getenv('DOCKER', 'true') }",
f"-earlyrenew={ getenv('EARLYRENEW', '30') }",
f"-enablelog={ getenv('ENABLELOG', '30') }",
f"-enablelogcompress={ getenv('ENABLELOGCOMPRESS', '30') }",
f"-enablelog={ getenv('ENABLELOG', 'true') }",
f"-enablelogcompress={ getenv('ENABLELOGCOMPRESS', 'true') }",
f"-fastgeoip={ getenv('FASTGEOIP', 'false') }",
f"-logrotate={ getenv('LOGROTATE', '0') }",
f"-mdns={ getenv('MDNS', 'true') }",