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
&
Regards
Bilal
My Startup/Shutdown Script for reference:
--------------------------------------------------------------------------------------------------------------------
#!/bin/sh
#
#my script
case "$1" in
start)
/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
#KRB5_KTNAME=/etc/squid/HTTP.keytab
#export KRB5_KTNAME
#KRB5RCACHETYPE=none
#export KRB5RCACHETYPE
;;
stop)
/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
;;
esac
_________________________________________________________________
Hotmail: Free, trusted and rich email service.
https://signup.live.com/signup.aspx?id=60969
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