Re: [squid-users] Any one can help me to start squid automatically as service ?

From: Ralf Peng <ralf.peng_at_gmail.com>
Date: Sun, 11 Jan 2009 21:13:22 +0800

You should edit /etc/rc.local and put this line in it:
/usr/local/squid/sbin/squid -D

not try to put this line in:
echo "/usr/local/squid/sbin/squid -D" >> /etc/rc.local
(or you should run this line in root's shell.)

Ralf.

2009/1/11 Balram <balramg_at_gmail.com>:
> Output is as follows :
> /usr/local/squid/sbin/squid D
>
>
> On 1/10/09, Ralf Peng <ralf.peng_at_gmail.com> wrote:
>> 2009/1/10 Balram <balramg_at_gmail.com>:
>>> I have added this line in /etc/rc.local but it didn't work.
>>>
>>
>>
>> You run this command by hand and see what does it say?
>>
>> /usr/local/squid/sbin/squid -D
>>
Received on Sun Jan 11 2009 - 13:13:29 MST

This archive was generated by hypermail 2.2.0 : Mon Jan 12 2009 - 12:00:02 MST