Use prepare_service()
Change-Id: If979dd573e924d85d7aa86674b54f5b937992b53
This commit is contained in:
parent
78837d96ee
commit
bbbb1d0b0d
@ -24,12 +24,11 @@ from billingstack.openstack.common import log as logging
|
|||||||
from billingstack.openstack.common import service
|
from billingstack.openstack.common import service
|
||||||
from billingstack import utils
|
from billingstack import utils
|
||||||
from billingstack.api import service as api_service
|
from billingstack.api import service as api_service
|
||||||
|
from billingstack.service import prepare_service
|
||||||
|
|
||||||
eventlet.monkey_patch()
|
|
||||||
|
|
||||||
utils.read_config('billingstack', sys.argv)
|
prepare_service(sys.argv)
|
||||||
|
|
||||||
logging.setup('billingstack')
|
|
||||||
logging.setup('wsme')
|
logging.setup('wsme')
|
||||||
|
|
||||||
launcher = service.launch(api_service.Service(),
|
launcher = service.launch(api_service.Service(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user