[squid-users] Logrotate with postrotate script
Roberto Carna
robertocarna36 at gmail.com
Thu Sep 15 15:39:54 UTC 2016
Dear, I've installed Squid3 with log rotation by default.
I've analyzed the /etc/logrotate.d/squid3 file, and I can see this lines:
postrotate
test ! -e /var/run/squid3.pid || /usr/sbin/squid3 -k rotate
endscript
Why is the reason of the "test ! -e /var/run/squid3.pid ||
/usr/sbin/squid3 -k rotate" command ??? Can yuo explain to me in
detail please ??? Because I think if I delete this line, the logrotae
config file is correct.
Thanks in advance.
Roberto
More information about the squid-users
mailing list