blob: a71de61e94e0692627bb01e2d180850c9a77aa2b [file] [log] [blame]
Timoney, Daniel (dt5972)324ee362017-02-15 10:37:53 -05001. /etc/attappl.env
2. ${PROJECT_HOME}/etc/default.env
3
4SSL_ENABLED=`python /opt/admportal/shell/getAdmPortalProp.py sslEnabled | sed -e 's|['\'']||g'`
5export SSL_ENABLED
6
7cd ..
8if [ "true" == "${SSL_ENABLED}" ]; then
9 pm2 stop admportal8443
10else
11 pm2 stop http_admportal
12fi
13pm2 kill