On Thu, 23 Sep 1999, Sherif Diaa El-Din - Email wrote:
> Hi All,
> 
> I am using squid2.2STABE4 on sun solaris 2.6
> I configured squid to run automatically when the system starts from
> inittab as in faq
> 
> sq:3:respawn:/usr/local/squid/bin/squid.sh < /dev/null >> /tmp/squid.log
> 2>&1
> 
> and squid.sh is :
>         #!/bin/sh
>         C=/usr/local/squid
>         PATH=/usr/bin:$C/bin
>         TZ=PST8PDT
>         export PATH TZ
> 
>         notify="root"
>         cd $C
>         umask 022
>         sleep 10
>         while [ -f /tmp/nosquid ]; do
>                 sleep 1
>         done
>         /usr/bin/tail -20 $C/logs/cache.log \
>                 | Mail -s "Squid restart on `hostname` at `date`" $notify
>         exec bin/squid -CYs
You want to add -N option to squid if you start it this way.
        exec bin/squid -NCYs
Duane W.
Received on Thu Sep 23 1999 - 10:52:21 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:32 MST