[squid-users] issue with start / stop scripts

Eliezer Croitoru eliezer at ngtech.co.il
Sun Nov 29 15:47:59 UTC 2015


On 29/11/2015 09:11, Alex Samad wrote:
> Hi
>
> its in the scripts
> stop() {
>          echo -n $"Stopping $prog: "
>          $SQUID -k check -f $SQUID_CONF >> /var/log/squid/squid.out 2>&1
>          RETVAL=$?
>          if [ $RETVAL -eq 0 ] ; then
>
>
> Any reason to check the config before stopping a running squid ??
Well I do not agree with the script writer 100% but it's not a "parse" 
which checks squid config but checks if squid is up..
Which is kind of a good thing when you are not systemd which knows if 
the process is still running.

Eliezer




More information about the squid-users mailing list