fix: drop the redundant daily from the Zomboid logrotate config
logrotate warns that size overrides daily, and it is right: with both set the time directive does nothing. The daily timer is when the config gets checked; 100M is when it rotates. Saying so in a comment rather than in a directive that has no effect. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
d34c6cd36d
commit
81451247b6
@@ -12,8 +12,10 @@
|
||||
{{ zomboid_path }}/data/server-console.txt
|
||||
{{ zomboid_path }}/data/Logs/*.txt
|
||||
{
|
||||
# size, not a time directive: logrotate's daily timer is when this is
|
||||
# *checked*, 100M is when it actually rotates. Specifying both makes
|
||||
# logrotate warn that size overrides daily.
|
||||
copytruncate
|
||||
daily
|
||||
size 100M
|
||||
rotate 3
|
||||
compress
|
||||
|
||||
Reference in New Issue
Block a user