You can use any one of the following commands to reload the squid after making changes to squid.conf file. Open a command-line terminal (select Applications > Accessories > Terminal) OR login using ssh, and then type the following commands:
# /usr/sbin/squid -k reconfigure
OR, use startup script from /etc/init.d/ directory as follows:
# /etc/init.d/squid reload
Another option is to send HUP single to squid process using the kill command:
# kill -HUP `cat /var/run/squid.pid`
OR
# kill -HUP $(cat /var/run/squid.pid)
No comments:
Post a Comment