Wait a bit before restarting the server... allow files to finish updating

This commit is contained in:
James Kasten
2012-08-13 01:46:47 -04:00
parent 25fc6233bc
commit 40409ff4aa
+2
View File
@@ -365,6 +365,8 @@ def authenticate():
print "Enabling Site", host.file
config.enable_site(host.file)
for i in range(10000):
continue
sni_challenge.apache_restart(quiet=curses)
elif r.failure.IsInitialized():
print "Server reported failure."