• Łukasz Nowak's avatar
    caddy-frontend: Create "rotation" script · 0a02772b
    Łukasz Nowak authored
    As some tools are not configurable with logrotate provide a script to
    "rotate" files generated by those tools.
    This script more or less follows logrotate behaviour:
    
     * moves rotated files to logrotate directory
     * compresses them with xz
     * have to be configured to keep only files for some days
    0a02772b
rotate-script.sh.in 450 Bytes