zeus 4 years ago
parent
commit
258b63ce37
  1. 3
      startup.sh

3
startup.sh

@ -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

Loading…
Cancel
Save