aboutsummaryrefslogtreecommitdiffstats
path: root/miss_htbt_service/misshtbt.sh
diff options
context:
space:
mode:
authorTony Hansen <tony@att.com>2020-07-31 15:37:14 +0000
committerGerrit Code Review <gerrit@onap.org>2020-07-31 15:37:14 +0000
commit4b3de5f13ad1a4f39bd15d6b0c58a1a430216821 (patch)
tree3e0a3a9ab31d497a459aa8d47d7c3495d95021e8 /miss_htbt_service/misshtbt.sh
parentf68ba0726d164a3952da353aa7dc9e7be8479a05 (diff)
parente97a5ce265f7e1d3380fab9c4132e2b002e8636c (diff)
Merge "Run in Python 3.8"
Diffstat (limited to 'miss_htbt_service/misshtbt.sh')
-rw-r--r--miss_htbt_service/misshtbt.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/miss_htbt_service/misshtbt.sh b/miss_htbt_service/misshtbt.sh
index df453b4..c93da98 100644
--- a/miss_htbt_service/misshtbt.sh
+++ b/miss_htbt_service/misshtbt.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/sh
#
# ============LICENSE_START=======================================================
# org.onap.dcae
@@ -19,13 +19,13 @@
# ============LICENSE_END=========================================================
# get to where we are supposed to be for startup
-cd /opt/app/misshtbt/bin
+cd /app/bin
# include path to 3.6+ version of python that has required dependencies included
-export PATH=/usr/local/lib/python3.6/bin:$PATH:/opt/app/misshtbt/bin
+export PATH=/usr/local/lib/python3.8/bin:$PATH:/app/bin
# expand search for python modules to include ./mod in runtime dir
-export PYTHONPATH=/usr/local/lib/python3.6/site-packages:./mod:./:$PYTHONPATH:/opt/app/misshtbt/bin
+export PYTHONPATH=/usr/local/lib/python3.8/site-packages:./mod:./:$PYTHONPATH:/app/bin
# set location of SSL certificates
export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-bundle.crt