Re: [squid-users] Logrotate with postrotate script

2016-09-15 Thread Amos Jeffries
On 16/09/2016 3:39 a.m., Roberto Carna wrote: > 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

[squid-users] Logrotate with postrotate script

2016-09-15 Thread Roberto Carna
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/sbi