Re: [squid-users] Squid startup scripts.

From: Ralf Hildebrandt <Ralf.Hildebrandt@dont-contact.us>
Date: Wed, 6 Feb 2008 15:38:04 +0100

* Dave Coventry <dgcoventry@gmail.com>:
> 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/

So write one. Or simply adapt the one for 2.x. Ur use runit.

> 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
> }

Or just:
#!/bin/sh
/usr/local/squid/sbin/squid

-- 
Ralf Hildebrandt (i.A. des IT-Zentrums)         Ralf.Hildebrandt@charite.de
Charite - Universitätsmedizin Berlin            Tel.  +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin    Fax.  +49 (0)30-450 570-962
IT-Zentrum Standort CBF                    send no mail to plonk@charite.de
Received on Wed Feb 06 2008 - 07:38:15 MST

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