summaryrefslogtreecommitdiff
path: root/debian/nova-cells.logrotate
blob: a7a3b5ccf9485e8549572b3496c13953eccb76b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/var/log/nova/nova-cells.log {
    daily
    missingok
    compress
    delaycompress
    notifempty
    postrotate
        if dpkg-vendor --derives-from ubuntu ; then
            service nova-cells restart >/dev/null 2>&1 || true
        else
            invoke-rc.d nova-cells restart >/dev/null 2>&1 || true
        fi
    endscript
}