Hi Dave, Dave Coventry 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 }
Try: vi /etc/init.d/squid #!/bin/sh echo -n ' Squid ' case "$1" in start) /usr/local/squid/sbin/squid -D ;; stop) /usr/local/squid/sbin/squid -k shutdown ;; restart) /usr/local/squid/sbin/squid -k reconfigure ;; *) echo "Usage: `basename $0` {start|stop|restart}" ;; esac Hope that helps. Thanking you...
-- With best regards and good wishes, Yours sincerely, Tek Bahadur Limbu System Administrator (TAG/TDG Group) Jwl Systems Department Worldlink Communications Pvt. Ltd. Jawalakhel, Nepal http://www.wlink.com.np http://teklimbu.wordpress.com