SLUG Mailing List Archives
Re: [SLUG] chkconfig
- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] chkconfig
- From: Malcolm Tredinnick <malcolm@xxxxxxxxxxxxxxxxx>
- Date: Sun Aug 5 15:48:02 2001
- User-agent: Mutt/1.2.5i
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
Support bacteria - they're the only culture some people have.