/var/log/heat/api-cfn.log {
daily
missingok
+ compress
+ postrotate
+ if dpkg-vendor --derives-from ubuntu ; then
+ service heat-api-cfn restart >/dev/null 2>&1 || true
+ else
+ invoke-rc.d heat-api-cfn restart >/dev/null 2>&1 || true
+ fi
+ endscript
}
/var/log/heat/api-cloudwatch.log {
daily
missingok
+ compress
+ postrotate
+ if dpkg-vendor --derives-from ubuntu ; then
+ service heat-api-cloudwatch restart >/dev/null 2>&1 || true
+ else
+ invoke-rc.d heat-api-cloudwatch restart >/dev/null 2>&1 || true
+ fi
+ endscript
}
/var/log/heat/api.log {
daily
missingok
+ compress
+ postrotate
+ if dpkg-vendor --derives-from ubuntu ; then
+ service heat-api restart >/dev/null 2>&1 || true
+ else
+ invoke-rc.d heat-api restart >/dev/null 2>&1 || true
+ fi
+ endscript
}
/var/log/heat/engine.log {
daily
missingok
+ compress
+ postrotate
+ if dpkg-vendor --derives-from ubuntu ; then
+ service heat-engine restart >/dev/null 2>&1 || true
+ else
+ invoke-rc.d heat-engine restart >/dev/null 2>&1 || true
+ fi
+ endscript
}