unitas-xmpp/net-im/ejabberd/files/ejabberd.logrotate

14 lines
203 B
Plaintext
Raw Normal View History

2021-04-01 20:29:26 +02:00
/var/log/jabber/*.log {
su jabber jabber
weekly
rotate 4
missingok
nocreate
sharedscripts
notifempty
compress
postrotate
/usr/sbin/ejabberdctl reopen-log > /dev/null 2>&1 || true
endscript
}