Updated sleep time after starting libvirt-bin

This commit is contained in:
Junaid Ali 2016-04-27 21:29:23 -07:00
parent 3d41f89186
commit ef7ebc5d2e

View File

@ -156,7 +156,7 @@ def restart_pg():
raise ValueError("plumgrid service couldn't be started")
else:
if service_start('libvirt-bin'):
time.sleep(3)
time.sleep(5)
if not service_running('plumgrid') \
and not service_start('plumgrid'):
raise ValueError("plumgrid service couldn't be started")