petite erreur

darcs-hash:20051001162249-4ec08-e5492c3f2428e9b7cbcbd0ba3e7d7060f7ead688.gz
This commit is contained in:
chove 2005-10-01 18:22:49 +02:00
parent 9b59e23a7a
commit 32fae7710c

View file

@ -148,7 +148,7 @@ def file_monitrc(hostname = host) :
config += ' start program = "/etc/init.d/apache2 start"\n' config += ' start program = "/etc/init.d/apache2 start"\n'
config += ' stop program = "/etc/init.d/apache2 stop"\n' config += ' stop program = "/etc/init.d/apache2 stop"\n'
if hostname == 'pegase' : if hostname == 'pegase' :
config += ' if failed host localhost port 443 type tcpssl protocol http %s seconds then restart\n' % timeout config += ' if failed host localhost port 443 type tcpssl protocol http %s then restart\n' % timeout
else : else :
config += ' if failed host localhost port 80 protocol http %s then restart\n' % timeout config += ' if failed host localhost port 80 protocol http %s then restart\n' % timeout
config += ' if failed host localhost port 443 type tcpssl protocol http %s then restart\n' % timeout config += ' if failed host localhost port 443 type tcpssl protocol http %s then restart\n' % timeout