aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ejabberd/ejabberd.logrotate
diff options
context:
space:
mode:
authorJohn Regan <john@jrjrtech.com>2015-02-19 10:33:13 -0500
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-02-19 15:55:16 +0000
commit784d79640e05805aa6729b2bb7b8230639248fc4 (patch)
tree1a845d6eb94a1ffbc764df373ff62632e29400cc /testing/ejabberd/ejabberd.logrotate
parente52e846d366b64644b75cfcab738f4937f465b42 (diff)
downloadaports-784d79640e05805aa6729b2bb7b8230639248fc4.tar.bz2
aports-784d79640e05805aa6729b2bb7b8230639248fc4.tar.xz
testing/ejabberd: update to 15.02
Signed-off-by: Leonardo Arena <rnalrd@alpinelinux.org>
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
+}