petite erreur
darcs-hash:20051001162249-4ec08-e5492c3f2428e9b7cbcbd0ba3e7d7060f7ead688.gz
This commit is contained in:
parent
9b59e23a7a
commit
32fae7710c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue