Re: running from inittab

From: Rodney van den Oever <Rodney.van.den.Oever@dont-contact.us>
Date: Mon, 6 Jan 1997 14:36:11 +0100

> A recent post suggested always running from a script (eg RunCache) to
> ensure that the proxy stays up, should it tend to crash.
>
> Has anyone tried just putting it in inttab(5) and letting init(8) deal
> w/ keeping it up? (I'm presuming a sysv style init(8), of course.)
>
> Were there any difficulties involved? I imagine it dould be better
> were squid to fork off as a daemon, and use syslog for error logs....
>
I used to run it on both Linux and AIX systems like this (it no longer
works with AIX):

sq:3:respawn:/usr/local/squid/bin/squid -DU >/dev/null 2>&1

Or use a small script:

#!/bin/sh
# Keep Squid running:

while : ; do
        /usr/local/squid/bin/squid -DU >/dev/null 2>&1
done
Received on Mon Jan 06 1997 - 05:51:52 MST

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