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