Hallo, Amos,

Du meintest am 25.01.12:

>> If I changed the entry in /etc/resolv.conf then, Is there need to
>> reload/reconfigure the squid?

> Yes. Squid does not monitor the configuration files for changes. It's
> on the feature wishlist, but nobody has had enough interest to code
> up a small background ticker event to do the checks.

I use "incron" from Lukas Aiken,

  http://inotify.aiken.cz

with the file "/etc/incron.d/squid" with the contents

  /etc/resolv.conf IN_MODIFY squid -k reconfigure

That means: if "/etc/resolv.conf" is modified then run "squid -k  
reconfigure".

There are some other programs which also work with "inotify" - maybe  
it's hard for a "squid" developper to look for the special routine(s) on  
a special target machine.

"incron" hasn't changed the last two years - don't know if Lukas still  
works on it. But the program doesn't seem to need changes ...

Viele Gruesse!
Helmut

Reply via email to