|
|
@ -1,9 +1,9 @@ |
|
|
|
|
|
|
|
pm2 stop hybridserver |
|
|
|
pm2 stop hybridserver > /dev/null 2>&1 |
|
|
|
sleep 1 |
|
|
|
pm2 start ecosystem.config.js --watch --ignore-watch="node_modules" |
|
|
|
pm2 start ecosystem.config.js --watch --ignore-watch="node_modules" > /dev/null 2>&1 |
|
|
|
sleep 3 |
|
|
|
pm2 stop hybridserver |
|
|
|
pm2 stop hybridserver > /dev/null 2>&1 |
|
|
|
sleep 3 |
|
|
|
pm2 start hybridserver |
|
|
|
|
|
|
@ -12,3 +12,6 @@ pm2 start hybridserver |
|
|
|
if [ ! -d 'LabLearningObject-hybrid-tmp' ]; then |
|
|
|
mkdir LabLearningObject-hybrid-tmp |
|
|
|
fi |
|
|
|
|
|
|
|
sudo /bin/bash /data/appl/ok/swarmlab-hybrid-agent/src-local/hybrid/connect/get-swarmlab-ca > /dev/null 2>&1 |
|
|
|
sudo /bin/bash /data/appl/ok/swarmlab-hybrid-agent/src-local/hybrid/connect/get-base-ca > /dev/null 2>&1 |
|
|
|