SquidGuard_Logrotate Bug? hangs at Midnight each night



  • Noticed that the bottom three lines have what appears to be an errant extra slash in the paths.

    /usr/pbi/squidguard-devel-amd64/local/etc/rc.d/squidGuard_logrotate

    
    # Rotates the squidguard conf logile
    tail -1000 /var/squidGuard/log//sg_configurator.log > /var/squidGuard/log//sg_configurator.log.0
    tail -1000 /var/squidGuard/log//sg_configurator.log.0 > /var/squidGuard/log//sg_configurator.log
    rm -f /var/squidGuard/log//sg_configurator.log.0
    
    

    Anyone else notice this?


Log in to reply