Re: [squid-users] Squid startup scripts.

From: Slacker <slacker@dont-contact.us>
Date: Wed, 06 Feb 2008 19:05:33 +0500

Dave Coventry, on 02/06/2008 06:55 PM [GMT+500], wrote :
> Hi,
>
> Still battling to get Squid up and running...
>
> I have installed Squid3.0 from source into /usr/local/squid.
>
> However, there is no startup script to place into /etc/init.d/
>
> Surely it's not simply a case of placing the following into a file
> called squid, making it executable, update-rc, etc?
>
> #!/bin/sh
> start () {
> /usr/local/squid/sbin/squid
> }
>
check the other scripts in /etc/init.d/ and make one for squid by
copying it.

for startup placing 'squid -D' in rc.local will do the job however if
you are looking for more features 'start/stop/reload/' etc then you have
to code one or search the archive.

regards.
Received on Wed Feb 06 2008 - 07:05:46 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:04 MST