diff --git a/configs/logrotate b/configs/logrotate new file mode 100644 index 0000000..824761e --- /dev/null +++ b/configs/logrotate @@ -0,0 +1,15 @@ +/var/log/dwelling-radio/radio.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-radio + endscript +} \ No newline at end of file