Re: squid and diald launch on boot

Edward Doolittle (dolittle@math.toronto.edu)
Fri, 18 Jun 1999 10:23:55 -0400 (EDT)


On Fri, 18 Jun 1999, Gio wrote:

> On Thu, 17 Jun 1999, Denis Voitenko wrote:

>> Also, what would be the proper line to put in if I wanted to have Squid
>> to start of boot? I do not think that /usr/local/squid/bin/RunCache &
>> would be right...

> It works for me I put su -c <myuser> /usr/local/squid/bin/squid &

In general you shouldn't use & in your startup scripts. If the program
doesn't manage to get itself into daemon mode before the script
terminates, it may die along with the script. Just drop the & and start
programs in the foreground. They'll put themselves into daemon mode and
then pass control back to the script.

Ed

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu