si j'ai bien compris c'est ca qu'il faut monitorer
darcs-hash:20050928085851-4ec08-152ae104a535f85b2a631459d35cdd4edf28cf41.gz
This commit is contained in:
parent
70372cebd9
commit
ab4334844a
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ def file_monitrc(hostname = host) :
|
|||
config += 'check process privoxy with pidfile /var/run/privoxy.pid\n'
|
||||
config += ' start program = "/etc/init.d/privoxy start"\n'
|
||||
config += ' stop program = "/etc/init.d/privoxy stop"\n'
|
||||
config += ' if failed host %s.crans.org port 8118 then restart\n' % hostname
|
||||
config += ' if failed host localhost port 8117 then restart\n' % hostname
|
||||
config += ' if 5 restarts within 5 cycles then timeout\n'
|
||||
config += '\n'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue