diff --git a/monit/generate.py b/monit/generate.py index 66ff3b52..e1e24622 100755 --- a/monit/generate.py +++ b/monit/generate.py @@ -148,7 +148,7 @@ def file_monitrc(hostname = host) : config += ' start program = "/etc/init.d/apache2 start"\n' config += ' stop program = "/etc/init.d/apache2 stop"\n' 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 : 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