Re: chkconfig won't work

From: Nick Austin <[email protected]>
Date: 04 Aug 2000 12:28:46 PDT
('binary' encoding is not supported, stored as-is) Try adding this to the top of /etc/rc.d/init.d/squid after the #!/bin/sh

# chkconfig: 345 90 25
# description: This script takes care of starting and stopping
# Squid Internet Object Cache.
#
# Squid is a HTTP/HTTPS/FTP/GOPHER/WAIS proxy server
# and cache. It accepts requests from network clients such as
# Netscape Navigator, and passes it to the proper hosts. The returned
# data are cached in a disk storage so that subsequent requests for
# the same URL can be answered via script without bothering the
# remote server.
#

I beleve chkconfig looks for the "#chkconfig:" line and the "#description:"
line to work correctly...

Hope this helps!

On Fri, 4 Aug 2000 10:14:58 -0400, John Deschamps said:

> When I exeute either "chkconfig --add squid" or chkconfig --level 345 squid on" I get the following error:
>
> service squid does not support chkconfig
>
> installed squid-2.3.STABLE4 on RH 6.1, and runs fine. Just can't get it to autostart on boot.
>
> Any ideaz?
>
>
>
> John Deschamps
> Department Head, Computer Services
> Huntington Public Library
> Huntington, NY 11743
>
> (631) 427-5165, ext 220
> jdescham@suffolk.lib.ny.us
>
>

-- 
-----
Nick Austin		 Systems Administrator
<nick@digitalpipe.net>	Digital Pipe Communications, Inc.
Phone: 650-627-5100x5224
Fax: 650-212-2301
Received on Fri Aug 04 2000 - 13:28:38 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:43 MST