Search squid archive

Re: issue with start / stop scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux