summaryrefslogtreecommitdiff
path: root/community-testing/ejabberd/ejabberd.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/ejabberd/ejabberd.logrotate')
-rw-r--r--community-testing/ejabberd/ejabberd.logrotate12
1 files changed, 12 insertions, 0 deletions
diff --git a/community-testing/ejabberd/ejabberd.logrotate b/community-testing/ejabberd/ejabberd.logrotate
new file mode 100644
index 000000000..03069078a
--- /dev/null
+++ b/community-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
+}