Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Mark on January 26, 2003, 02:32:58 AM

Title: Stop ing squid
Post by: Mark 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
Title: Re: Stop ing squid
Post by: rene 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é
Title: Re: Stop ing squid
Post by: rob wellesley 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