aboutsummaryrefslogtreecommitdiff
path: root/make/template/logrotate
diff options
context:
space:
mode:
authorGravatar Wade Cline2022-07-10 17:16:02 -0700
committerGravatar GitHub2022-07-11 01:16:02 +0100
commit5384fb3e2d1b2e84a25e6840ada6ab8ac802483d (patch)
tree3b4f949bc47dbc4683fc13af2788f0fbe43953af /make/template/logrotate
parentFix more inconsistencies with USERIP. (diff)
Fix the logrotate config rotating already rotated log files.
Ref: #1990.
Diffstat (limited to 'make/template/logrotate')
-rw-r--r--make/template/logrotate2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/template/logrotate b/make/template/logrotate
index a80d2b5a3..996124647 100644
--- a/make/template/logrotate
+++ b/make/template/logrotate
@@ -18,7 +18,7 @@
# To use this file move it to /etc/logrotate.d/inspircd
-@LOG_DIR@/* {
+@LOG_DIR@/*.log {
compress
create 0644 @USER@ @GROUP@
dateext