/opt/starfish/log/loki/loki.log {
    nocreate
    compress

    dateext

    notifempty

    daily
    rotate 90

    missingok

    postrotate
        systemctl is-active --quiet sf-loki && systemctl restart sf-loki
    endscript
}
