X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=admportal%2Fshell%2Fstart_portal.sh;h=36716f47e24adf4f0d6bdf164f661088c86cac11;hb=refs%2Fchanges%2F83%2F112983%2F5;hp=8a0c445209e83f72da4cf5c3b32b31faffcd59e5;hpb=821a5c4c9630814f553913cd6d464ff3e2027d18;p=sdnc%2Foam.git diff --git a/admportal/shell/start_portal.sh b/admportal/shell/start_portal.sh index 8a0c4452..36716f47 100755 --- a/admportal/shell/start_portal.sh +++ b/admportal/shell/start_portal.sh @@ -20,11 +20,12 @@ SSL_ENABLED=`python $PROJECT_HOME/admportal/shell/getAdmPortalProp.py sslEnabled export SSL_ENABLED if [ ! -d /opt/onap/sdnc/admportal/node_modules ]; then - cd /opt/onap/sdnc/admportal && npm install + echo "ERROR: missing node modules: /opt/onap/sdnc/admportal/node_modules" + exit 1 fi cd /opt/onap/sdnc/admportal -node shell/www +exec node shell/www #if [ "true" == "${SSL_ENABLED}" ]; then #pm2 startOrRestart process.https.json #else