Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have squid proxy server running on ubuntu. I wrote set of rules for acl including something like:

acl exceeded_users proxy_auth "/etc/squid/users/exceeded"
http_access deny exceeded_users all_dst

if any user exceed the bandwidth limit then his name will transfer to exceeded list. but the problem is to apply this change i need to restart squid. Is there any way to apply like these changes automatically without restarting squid.

Thanks in advance

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Running squid -k reconfigure will cause it to reload the configuration without restarting.

You can use incron to monitor your /etc/squid/users/exceeded list to automatically trigger the reconfigure command whenever that file is written to.

share|improve this answer
    
thanks a lot, incron is really what am looking for; –  Unknown Nov 27 '10 at 20:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.