Re: Starting squid via inittab

From: Dancer <dancer@dont-contact.us>
Date: Mon, 27 Sep 1999 11:36:59 +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
>
> .

Add '-N' to the squid arguments to prevent it forking into the
background.

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

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