/var/log/dwelling-upload/*log {
    nocreate
    size 1M
    compress
    compresscmd /usr/bin/zstd
    compressext .zst
    compressoptions -T0 --long -15
    uncompresscmd /usr/bin/unzstd
    sharedscripts
    missingok
    notifempty
    postrotate
        /bin/pkill -HUP dwelling-upload
    endscript
}