|
|
@ -78,7 +78,8 @@ chmod +x /home/$USER/crond/playground-sync.sh |
|
|
|
read -r -d '' VAR <<EOF |
|
|
|
#!/bin/bash |
|
|
|
|
|
|
|
su -c 'cd /home/$USER/$REPO/swarmlab-app/src; npm install; npm install express --save; npm cache clean --force;' - node |
|
|
|
su -c 'cd /home/$USER/$REPO/swarmlab-app/src; npm install; npm install express --save; ' - node |
|
|
|
#su -c 'cd /home/$USER/$REPO/swarmlab-app/src; npm install; npm install express --save; npm cache clean --force;' - node |
|
|
|
su -c 'pm2-runtime /home/$USER/crond/playground.config.js' - node |
|
|
|
|
|
|
|
|
|
|
|