On Mon, 20 Mar 2000, you wrote:
> does anyone know how to add a service to ntsysv.
> 
> I have installed a greater version of squid.  I have written a script 
> that will start, stop, restart squid.  It is located in /etc/rc.d/init.d 
> and I linked it to the other runlevels.
> 
> also tried chkconfig --add /etc/rc.d/init.d/squid but says error 
> reading service on /etc/rc.d/init.d/squid: No such file or directory.

IMHO you should really use squid packaged as an RPM rather than building it
yourself.  An RPM (or DEB) package will include scripts to handle the start and
shutdown of the service, and will configure squid with minimal default settings.
If you still want to recompile get the SOURCE RPM and recompile it using 
rpm --rebuild

That being said, check the first line of your 'squid' script. Make sure the 
#! /bin/bash 
is correct and you have correct permissions

-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to