From: Thomas Goirand Date: Thu, 29 May 2014 06:13:11 +0000 (+0800) Subject: Switched from restarting daemons to copytruncate in logrotate. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=b1c95b0d2223c9206d7f415538cdcdde28e81ea9;p=openstack-build%2Fheat-build.git Switched from restarting daemons to copytruncate in logrotate. Rewritten-From: 1a89b89e4878846a8fb6cc22fd99f2b9d9bd6a5f --- diff --git a/xenial/debian/changelog b/xenial/debian/changelog index dc626c4c..756db8e7 100644 --- a/xenial/debian/changelog +++ b/xenial/debian/changelog @@ -1,3 +1,15 @@ +heat (2014.1-6) unstable; urgency=medium + + * Switched from restarting daemons to copytruncate in logrotate. + + -- Thomas Goirand Thu, 29 May 2014 14:12:51 +0800 + +heat (2014.1-5) unstable; urgency=medium + + * Switched from restarting daemons to copytruncate for logrotate. + + -- Thomas Goirand Thu, 29 May 2014 14:10:16 +0800 + heat (2014.1-4) unstable; urgency=high * Refreshed fix-default-db.patch. diff --git a/xenial/debian/heat-api-cfn.logrotate b/xenial/debian/heat-api-cfn.logrotate index 67b8303a..919e3d61 100644 --- a/xenial/debian/heat-api-cfn.logrotate +++ b/xenial/debian/heat-api-cfn.logrotate @@ -2,7 +2,7 @@ daily missingok compress - postrotate - service heat-api-cfn restart >/dev/null 2>&1 || true - endscript + delaycompress + notifempty + copytruncate } diff --git a/xenial/debian/heat-api-cloudwatch.logrotate b/xenial/debian/heat-api-cloudwatch.logrotate index 942b2fae..f1fc131c 100644 --- a/xenial/debian/heat-api-cloudwatch.logrotate +++ b/xenial/debian/heat-api-cloudwatch.logrotate @@ -1,8 +1,8 @@ /var/log/heat/api-cloudwatch.log { daily missingok - compress - postrotate - service heat-api-cloudwatch restart >/dev/null 2>&1 || true - endscript + compress + delaycompress + notifempty + copytruncate } diff --git a/xenial/debian/heat-api.logrotate b/xenial/debian/heat-api.logrotate index be1d307f..7f8aed65 100644 --- a/xenial/debian/heat-api.logrotate +++ b/xenial/debian/heat-api.logrotate @@ -1,8 +1,8 @@ /var/log/heat/api.log { daily missingok - compress - postrotate - service heat-api restart >/dev/null 2>&1 || true - endscript + compress + delaycompress + notifempty + copytruncate } diff --git a/xenial/debian/heat-engine.logrotate b/xenial/debian/heat-engine.logrotate index 93d54128..41635488 100644 --- a/xenial/debian/heat-engine.logrotate +++ b/xenial/debian/heat-engine.logrotate @@ -1,8 +1,8 @@ /var/log/heat/engine.log { daily missingok - compress - postrotate - service heat-engine restart >/dev/null 2>&1 || true - endscript + compress + delaycompress + notifempty + copytruncate }