aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ejabberd/ejabberd.logrotate
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2012-01-26 12:50:48 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2012-01-26 12:51:04 +0000
commitd5b5f59dceb3766dc9601715530d66ab0545f2b2 (patch)
tree651fcdf1eb7ddd2ddf6fd2c6ae00f317f0490341 /testing/ejabberd/ejabberd.logrotate
parentd4addaa2278f2f7290728179d88f52aa4a3f9ab9 (diff)
downloadaports-d5b5f59dceb3766dc9601715530d66ab0545f2b2.tar.bz2
aports-d5b5f59dceb3766dc9601715530d66ab0545f2b2.tar.xz
testing/ejabberd: initd, confd, install/upgrade triggers, logrotate support added
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
+}