$0 start
;;
+ reconfigure)
+ /usr/sbin/squid -k reconfigure
+ ;;
+
status)
statusproc /usr/sbin/squid
statusproc /usr/lib/squid/unlinkd
sleep 1
$0 start
;;
+ setperms)
+ chown -R nobody.squid /var/updatecache/
+ ;;
*)
echo "Usage: $0 {start|stop|restart|status|flush}"