On Mon, 16 Feb 2004, Gareth wrote:
> I've added -xv to the '#! /bin/sh' line of the script to see what's
> happening, and it seems the kill 0 12345 doesn't actually succeed in killing
> the process, it tries this for 60 seconds, but nothing.
"kill 0 <something>" does not kill a proces, it just checks that the
process is still around.
Most likely the init script intends to first signal Squid to shut down,
then waits some time for Squid to actually terminate and uses "kill 0
<pid>" to check if Squid has terminated yet.
Regards
Henrik
Received on Mon Feb 16 2004 - 14:39:12 MST
This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:02 MST