Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    SquidGuard_Logrotate Bug? hangs at Midnight each night

    Scheduled Pinned Locked Moved Cache/Proxy
    1 Posts 1 Posters 680 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      d_will
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.