[Ovirt-devel] [PATCH] generalized wait_for_service
Alan Pevec
apevec at redhat.com
Tue Jul 1 21:56:30 UTC 2008
service (libvirtd in this case) was assumed to be ready immediately after startup, which wasn't guaranteed.
I generalized waiting loop w/ timeout we had for postgres to a shell function, so it can be used where needed.
SYNOPSIS: wait_for_service 'test command' n_retries seconds_to_sleep_between_retries
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wait_for_service.patch
Type: text/x-patch
Size: 1819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20080701/72013162/attachment.bin>
More information about the ovirt-devel
mailing list