From 2b88b16e8bec116683317854dc0dc776a3355591 Mon Sep 17 00:00:00 2001 From: John Eckersberg Date: Aug 07 2015 14:15:31 +0000 Subject: Update logrotate config to use rabbitmqctl rotate_logs (rhbz#1148444) --- diff --git a/rabbitmq-server.logrotate b/rabbitmq-server.logrotate index 6b65761..832cdcf 100644 --- a/rabbitmq-server.logrotate +++ b/rabbitmq-server.logrotate @@ -7,6 +7,6 @@ notifempty sharedscripts postrotate - /sbin/service rabbitmq-server rotate-logs > /dev/null + /usr/sbin/rabbitmqctl -q rotate_logs endscript } diff --git a/rabbitmq-server.spec b/rabbitmq-server.spec index be44e3d..1f8a2b4 100644 --- a/rabbitmq-server.spec +++ b/rabbitmq-server.spec @@ -3,7 +3,7 @@ Name: rabbitmq-server Version: 3.5.4 -Release: 1%{?dist} +Release: 2%{?dist} License: MPLv1.1 Group: Development/Libraries Source: http://www.rabbitmq.com/releases/rabbitmq-server/v%{version}/%{name}-%{version}.tar.gz @@ -204,6 +204,9 @@ done rm -rf %{buildroot} %changelog +* Fri Aug 7 2015 John Eckersberg - 3.5.4-2 +- Update logrotate config to use rabbitmqctl rotate_logs (rhbz#1148444) + * Wed Jul 22 2015 John Eckersberg - 3.5.4-1 - New upstream release - 3.5.4