zeus
4 years ago
4 changed files with 32 additions and 6 deletions
@ -1,14 +1,17 @@ |
|||
|
|||
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 |
|||
|
|||
/bin/bash ./git-update.sh https://git.swarmlab.io:3000/llo/LabLearningObject-hybrid.git LabLearningObject-hybrid |
|||
|
|||
if [ ! -d 'LabLearningObject-hybrid-tmp']; then |
|||
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 |
|||
|
Loading…
Reference in new issue