Code Review
/
sdnc
/
oam.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix admportal image
[sdnc/oam.git]
/
admportal
/
shell
/
start_portal.sh
diff --git
a/admportal/shell/start_portal.sh
b/admportal/shell/start_portal.sh
index
8a0c445
..
36716f4
100755
(executable)
--- 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
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
fi
cd /opt/onap/sdnc/admportal
-node shell/www
+
exec
node shell/www
#if [ "true" == "${SSL_ENABLED}" ]; then
#pm2 startOrRestart process.https.json
#else
#if [ "true" == "${SSL_ENABLED}" ]; then
#pm2 startOrRestart process.https.json
#else