diff options
| author | Justin Santa Barbara <justin@fathomdb.com> | 2011-02-22 17:58:01 -0800 |
|---|---|---|
| committer | Justin Santa Barbara <justin@fathomdb.com> | 2011-02-22 17:58:01 -0800 |
| commit | e37e7b91a9fb5664ad50c1ff38e95f1a2d655c06 (patch) | |
| tree | 3b078ca449be7b64703510ec2d8ae4a403b1a699 /bin/nova-api | |
| parent | 79f6c437b486262bab3faacb59197a5cae30b2bd (diff) | |
Support service-like wait behaviour for API service
Diffstat (limited to 'bin/nova-api')
| -rwxr-xr-x | bin/nova-api | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/nova-api b/bin/nova-api index 99417e6c6..ccb7701ae 100755 --- a/bin/nova-api +++ b/bin/nova-api @@ -49,4 +49,5 @@ if __name__ == '__main__': if not conf: LOG.error(_("No paste configuration found for: %s"), 'nova-api.conf') else: - apiservice.serve(conf) + service = apiservice.serve(conf) + service.wait() |
