Re: Starting squid via inittab

From: Dancer <dancer@dont-contact.us>
Date: Mon, 27 Sep 1999 11:38:37 +1000

Gerry George wrote:
>
> I am running squid (2.2.STABLE1) on Red Hat Linux 6.0 (2.2.5-15). I am
> trying to have squid start from inittab, since I have noticed that it will
> occasionally die. In such a case, I want it to automatically restart. I
> have followed the instructions as per
> http://squid.nlanr.net/Doc/FAQ/FAQ-3.html#ss3.6.
>
> However, multiple instances of squid are started, until init disables the
> "respawning". How should the squid.sh script or inittab entry be modified
> to only allow and try to start one instance of squid? The other instances
> started eventually fail, but this is still an error I would like to clear up.
>
> Thanks
>
> Gerry George
>
> Gerry E. George <ggeorge@digisolv.com>
> Information Technology Specialist,
> DigiSolv, Inc.
> http://www.digisolv.com
>
> .

Oh, you _do_ realise that running from inittab makes it nigh impossible
to do a clean shutdown of squid (there _are_ ways, if you are careful
about the parameters you pass to the shutdown command, AND you know how
long to allow squid).

This may not matter to you, of course...It doesn't matter for several of
my installations, so I do it that way. Others, though, it does.

D
Received on Sun Sep 26 1999 - 19:59:46 MDT

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