summaryrefslogtreecommitdiffstats
path: root/pykolab/setup/setup_roundcube.py
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab/setup/setup_roundcube.py')
-rw-r--r--pykolab/setup/setup_roundcube.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pykolab/setup/setup_roundcube.py b/pykolab/setup/setup_roundcube.py
index ad23d6c..5970a65 100644
--- a/pykolab/setup/setup_roundcube.py
+++ b/pykolab/setup/setup_roundcube.py
@@ -24,6 +24,7 @@ import random
import re
import subprocess
import sys
+import time
import components
@@ -170,6 +171,8 @@ def execute(*args, **kw):
p1.stdout.close()
p2.communicate()
+ time.sleep(2)
+
if os.path.isfile('/bin/systemctl'):
subprocess.call(['/bin/systemctl', 'restart', 'httpd.service'])
subprocess.call(['/bin/systemctl', 'enable', 'httpd.service'])