Merge "clean up to use common service code"
This commit is contained in:
commit
ce34a4eae0
@ -21,8 +21,5 @@ from ceilometer import service
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
service.prepare_service()
|
service.prepare_service()
|
||||||
launcher = os_service.ProcessLauncher()
|
os_service.launch(notification.NotificationService(),
|
||||||
launcher.launch_service(
|
workers=service.get_workers('notification')).wait()
|
||||||
notification.NotificationService(),
|
|
||||||
workers=service.get_workers('notification'))
|
|
||||||
launcher.wait()
|
|
||||||
|
@ -21,8 +21,5 @@ from ceilometer import service
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
service.prepare_service()
|
service.prepare_service()
|
||||||
launcher = os_service.ProcessLauncher()
|
os_service.launch(collector.CollectorService(),
|
||||||
launcher.launch_service(
|
workers=service.get_workers('collector')).wait()
|
||||||
collector.CollectorService(),
|
|
||||||
workers=service.get_workers('collector'))
|
|
||||||
launcher.wait()
|
|
||||||
|
Loading…
Reference in New Issue
Block a user