diff options
author | Bin Sun <bins@vmware.com> | 2018-03-27 10:25:24 +0800 |
---|---|---|
committer | Bin Sun <bins@vmware.com> | 2018-03-27 10:28:27 +0800 |
commit | 1f89c015870b28e872d719f96dd29bc90501e10b (patch) | |
tree | 947c810524f52785a65e3e55b8d4b877a225a733 /vio/run.sh | |
parent | 1cdaa0928663eb3359a849776bf5fcd8700c7ae1 (diff) |
Initial code for event federation
Change-Id: Ia6f11d5334bea7effc99761d0121bef18a66ac51
Issue-ID: MULTICLOUD-150
Signed-off-by: Bin Sun <bins@vmware.com>
Diffstat (limited to 'vio/run.sh')
-rwxr-xr-x | vio/run.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -20,12 +20,14 @@ sed -i "s/AAI_PORT =.*/AAI_PORT = \"${AAI_PORT}\"/g" vio/pub/config/config.py sed -i "s/AAI_SCHEMA_VERSION =.*/AAI_SCHEMA_VERSION = \"${AAI_SCHEMA_VERSION}\"/g" vio/pub/config/config.py sed -i "s/AAI_USERNAME =.*/AAI_USERNAME = \"${AAI_USERNAME}\"/g" vio/pub/config/config.py sed -i "s/AAI_PASSWORD =.*/AAI_PASSWORD = \"${AAI_PASSWORD}\"/g" vio/pub/config/config.py - +sed -i "s/MR_ADDR =.*/MR_ADDR = \"${MR_ADDR}\"/g" vio/pub/config/config.py +sed -i "s/MR_PORT =.*/MR_PORT = \"${MR_PORT}\"/g" vio/pub/config/config.py logDir="/var/log/onap/multicloud/vio" nohup python manage.py runserver 0.0.0.0:9004 2>&1 & +nohup python vio/event_listener/server.py 2>&1 & while [ ! -f $logDir/vio.log ]; do sleep 1 |