commit 934073b2d151517c2fbcca6847da3d9e6efc5bde Author: Arkadiusz MiĆkiewicz <ar...@maven.pl> Date: Mon May 20 09:34:28 2024 +0200
Rel 2; don't force weekly for this file (use global setting); delaycompress is needed ejabberd.logrotate | 2 +- ejabberd.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- diff --git a/ejabberd.spec b/ejabberd.spec index f82f77b..1664769 100644 --- a/ejabberd.spec +++ b/ejabberd.spec @@ -10,7 +10,7 @@ Summary: Fault-tolerant distributed Jabber/XMPP server Summary(pl.UTF-8): Odporny na awarie rozproszony serwer Jabbera/XMPP Name: ejabberd Version: 23.10 -Release: 1 +Release: 2 License: GPL Group: Applications/Communications # Source0: https://www.process-one.net/downloads/downloads-action.php?file=/%{version}/%{name}-%{version}.tar.gz diff --git a/ejabberd.logrotate b/ejabberd.logrotate index f10caf2..935902c 100644 --- a/ejabberd.logrotate +++ b/ejabberd.logrotate @@ -1,9 +1,9 @@ /var/log/ejabberd/*.log { - weekly olddir /var/log/archive/ejabberd su jabber jabber nocreate sharedscripts + delaycompress postrotate /bin/su -s /bin/bash - jabber /usr/sbin/ejabberdctl reopen_log > /dev/null # ejabberd tries to rename old logs on 'reopen_log' ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/ejabberd.git/commitdiff/934073b2d151517c2fbcca6847da3d9e6efc5bde _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit