Koozali.org: home of the SME Server

Stop ing squid

Mark

Stop ing squid
« on: January 26, 2003, 02:32:58 AM »
Anyone know the best way to kill squid?

Also, change startup so not to start squid on startup.

TIA

rene

Re: Stop ing squid
« Reply #1 on: January 26, 2003, 02:56:48 AM »
Hi,

I would use /etc/init.d/squid stop

and to keep squid from starting next reboot, I would

1) check runlevel by using "runlevel" command (output is something
like N6 or N7)

2) move /etc/rc.d/rc.d/S90squid to
the new name /etc/rc.d/rc.d/s90squid

The "s" instead of "S" keeps linux from starting the service...


Regards, René

rob wellesley

Re: Stop ing squid
« Reply #2 on: January 26, 2003, 02:44:30 PM »
Actually you should do it the e-smith way

/sbin/e-smith/config setprop squid status disabled

reboot