Re: Squid from Inittab/Reboot

From: Roberto A. Lumbreras Pastor <rover@dont-contact.us>
Date: Sun, 23 Feb 1997 12:43:01 +0100 (MET)

On Sun, 23 Feb 1997, Florian Lohoff wrote:

: taking some minutes (600MB). Does anyone have a solution ? I mean
: also with RunCache it should be the same as INT & KILL come for
: all processes not only Inittab entrys.
:
: PS :Linux 2.0.28/Squid 1.1.5

With Linux it's easy :-)
I run RunCache in rc.local and I have this in my rc.6 (shutdown script):
    ...
    echo "Sending all processes the TERM signal."
    killall5 -15
    ...
    echo -n "Waiting for squid to die"
    while pidof squid >/dev/null; do
        echo -n "."
        sleep 2
    done
    echo
    echo "Sending all processes the KILL signal."
    killall5 -9

Regards,

-- 
Roberto Lumbreras Pastor                mailto:rover@lander.es
Lander Internet - Spain                 http://www.lander.es/
Tel +34 1 556.28.83                     Fax +34 1 556.30.01
Received on Sun Feb 23 1997 - 04:19:06 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:31 MST