rotated squid with multi instance with non default config file

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

rotated squid with multi instance with non default config file

--Ahmad--
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 ?

cheers


_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: rotated squid with multi instance with non default config file

Alex Rousskov
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.
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Loading...