Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] chkconfig


On Sun, Aug 05, 2001 at 03:00:33PM +1000, Phillipus Gunawan wrote:
> I configuring squid manually from tar.gz file when i type 'chkconfig
> --add squid' i got: service squid does not support chkconfig anyone
> know what's the problem is?

Well, I don't know exactly what it is in this case, but services that
are managaed by chkconfig need to have a certain formatted comment at
the top of their file. This tells chkconfig things like what priority to
give to startup and shutdown, where the pidfile is stored and where the
config file is.

Have a look at some of the scripts in /etc/init.d (or /etc/rc.d/init.d
on some distros to see what it is meant to look like and add it in
yourself.

Cheers,
Malcolm

-- 
Support bacteria - they're the only culture some people have.