diff --git a/install b/install index 431c220..394f36e 100755 --- a/install +++ b/install @@ -151,6 +151,7 @@ declare -A COPY_ROOT_FILES COPY_ROOT_FILES=( ["/etc/docker/daemon.json"]="644" ["/etc/gemrc"]="644" + ["/etc/logrotate.d/custom.conf"]="644" ["/etc/mkinitcpio.conf"]="644" ["/etc/NetworkManager/conf.d/dns.conf"]="644" ["/etc/pacman.conf"]="644" diff --git a/system/etc/logrotate.d/custom.conf b/system/etc/logrotate.d/custom.conf new file mode 100644 index 0000000..fd3b013 --- /dev/null +++ b/system/etc/logrotate.d/custom.conf @@ -0,0 +1,11 @@ +compresscmd zstd +uncompresscmd unzstd +compressoptions -9 --long -T0 +compressext .zst + +/home/severin/.local/log/*.log { + compress + daily + rotate 5 + size 512K +} \ No newline at end of file