[squid-users] Runcache script- Lot of confusion

From: GIGO . <gigoz_at_msn.com>
Date: Sat, 22 May 2010 14:11:59 +0000

Hi all,
Please guide about runcache script behaviour uptil now i have only understood this that this script will check and autorestart squid in case of failure. I also assume that this script should be registered with init.d for startup/shutdown. Where is this script located?(2.7 version). Is this compiled already with the squid code? Is it Deprecated now? If squid must be run through runcache script?
thanking you
                          My Startup/Shutdown Script for reference:
#my script
case "$1" in
/usr/sbin/squid -D -s -f /etc/squid/squidcache.conf
/usr/sbin/squid -D -s -f /etc/squid/squid.conf
#The below line is to automatically start apache with system startup
/usr/sbin/httpd -k start
#export KRB5_KTNAME
/usr/sbin/squid -k shutdown -f /etc/squid/squidcache.conf
echo "Shutting down squid secondary process"
/usr/sbin/squid -k shutdown -f /etc/squid/squid.conf
echo "Shutting down squid main process"
# The below line is to automatically stop apache at system shutdown
/usr/sbin/httpd -k stop
Hotmail: Free, trusted and rich email service.
Received on Sat May 22 2010 - 14:12:06 MDT

This archive was generated by hypermail 2.2.0 : Mon May 24 2010 - 12:00:05 MDT