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