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,
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
Received on Wed Jan 25 2012 - 07:15:48 MST
This archive was generated by hypermail 2.2.0 : Wed Jan 25 2012 - 12:00:03 MST