summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunaid Ali <junaidali@plumgrid.com>2016-04-27 21:32:22 -0700
committerJunaid Ali <junaidali@plumgrid.com>2016-04-27 21:32:22 -0700
commit13e3230cc5d1409ca95e5a90fc48955ed33d9161 (patch)
tree90df7c6db7995d5336629fca9c43e68363961707
parent02ace9b01803046571bffa9019199bc5dbc6a33a (diff)
Updated sleep time after starting libvirt-bin
-rw-r--r--hooks/pg_gw_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/pg_gw_utils.py b/hooks/pg_gw_utils.py
index 48c1571..fb501e0 100644
--- a/hooks/pg_gw_utils.py
+++ b/hooks/pg_gw_utils.py
@@ -156,7 +156,7 @@ def restart_pg():
156 raise ValueError("plumgrid service couldn't be started") 156 raise ValueError("plumgrid service couldn't be started")
157 else: 157 else:
158 if service_start('libvirt-bin'): 158 if service_start('libvirt-bin'):
159 time.sleep(3) 159 time.sleep(5)
160 if not service_running('plumgrid') \ 160 if not service_running('plumgrid') \
161 and not service_start('plumgrid'): 161 and not service_start('plumgrid'):
162 raise ValueError("plumgrid service couldn't be started") 162 raise ValueError("plumgrid service couldn't be started")