/var/log/s3/goose-background/*log {
    size 500M
    missingok
    rotate 25
    compress
    compresscmd /usr/bin/ionice
    compressoptions -c3 /usr/bin/pzstd -1 -p2
    compressext .zst
    delaycompress
    notifempty
    #create 644 s3proxy s3proxy
    dateext
    dateformat .%Y%m%d-%s
    nocreate
    postrotate
        kill -HUP `pidof s3-goose-background`
    endscript
}
