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.