From 32fae7710ca1cbe3b205a3aedffd9412dde73516 Mon Sep 17 00:00:00 2001 From: chove Date: Sat, 1 Oct 2005 18:22:49 +0200 Subject: [PATCH] petite erreur darcs-hash:20051001162249-4ec08-e5492c3f2428e9b7cbcbd0ba3e7d7060f7ead688.gz --- monit/generate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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