aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ejabberd/ejabberd.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ejabberd/ejabberd.logrotate')
-rw-r--r--testing/ejabberd/ejabberd.logrotate12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/ejabberd/ejabberd.logrotate b/testing/ejabberd/ejabberd.logrotate
new file mode 100644
index 0000000000..03069078aa
--- /dev/null
+++ b/testing/ejabberd/ejabberd.logrotate
@@ -0,0 +1,12 @@
+/var/log/ejabberd/ejabberd.log {
+ weekly
+ missingok
+ rotate 10
+ compress
+ delaycompress
+ ifempty
+ nomail
+ sharedscripts
+ postrotate ejabberdctl --node ejabberd reopen-log > /dev/null
+ endscript
+}