At times we automatically start Squid from a clean setup. We run squid -z to create the cache directories and then start Squid for normal operation. The question is how to know when squid -z has finished and it is safe to start Squid for normal operation. This is not a problem when one has one squid worker, one uses the -N (don't background) option as well and just waits for the process to finish. However we want to use Squid with multiple workers and the problem is the -N option overrides the number of workers and it sets up only one cache directory. (Squid has one cache directory per worker.) If one does not wait then when Squid starts for normal operation the cache directories are not ready and it fails. One can't even use the PID file to find out a process to wait for, as it seems that it does not even write a PID file when the -z option is used. Any ideas on how to find out when it is finished creating the cache directories? Thanks Stephen Baynes _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users