[squid-users] rotated squid with multi instance with non default config file

Alex Rousskov rousskov at measurement-factory.com
Sat Jun 17 15:56:10 UTC 2017


On 06/17/2017 07:11 AM, --Ahmad-- wrote:
> Hi folks 
> i have squid 3.5.24
> 
> i run it like :
> 
> squid -n 90 -f /etc/squid/xsquid.conf 
> 
> 
> but i need to reload squid not kill then start it .
> 
> 
> i cant use the cmd
> squid -n 90 -f /etc/squid/xsquid.conf  -k rec
> 
> 
> any way to do that ?


The following command should trigger Squid instance reconfiguration:

  squid -n 90 -f /etc/squid/xsquid.conf -k reconfigure

If it does not, then please double check that there is a valid Squid PID
file and, if there is, open a bug report that details what happens when
you use that command.

Please note that your email subject says "rotated" while your email body
says "reload" and "rec". You may want to clarify whether you want to
reconfigure Squid or rotate its logs. There is "-k rotate" for the latter.


HTH,

Alex.


More information about the squid-users mailing list