blob: a71de61e94e0692627bb01e2d180850c9a77aa2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
. /etc/attappl.env
. ${PROJECT_HOME}/etc/default.env
SSL_ENABLED=`python /opt/admportal/shell/getAdmPortalProp.py sslEnabled | sed -e 's|['\'']||g'`
export SSL_ENABLED
cd ..
if [ "true" == "${SSL_ENABLED}" ]; then
pm2 stop admportal8443
else
pm2 stop http_admportal
fi
pm2 kill
|