Search squid archive

Re: FIFO + Logrotate squid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



William A. Knob wrote:
         Hi all,

   I have a problem using FIFO and Squid.

The problem is: I create a log with mkfifo to work with my personal mysql logger, works fine. But when Logrotate runs, my fifo disapears! Logrotate moves my original FIFO to a .1 FIFO and create an empty FILE with the name of my fifo. Anyone knows how I make to logrotate create another FIFO when it runs?

It seems to me your best option would be to prevent logrotate from messing with your FIFO at all. An alternative would be to use the postrotate script to remove the newly created file, and create a FIFO in its place, but that seems a bit silly.


   Regards,


William

Chris


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux