/var/log/heat/api.log {
    daily
    missingok
    compress
    postrotate
        service heat-api restart >/dev/null 2>&1 || true
    endscript
}
