Browse Source

add join

master
zeus 4 years ago
parent
commit
2537bfcdc7
  1. 3
      llo/connect-new.js
  2. 2
      stop

3
llo/connect-new.js

@ -194,7 +194,8 @@ docker run -d \
-v ${mypath}/hybrid/connect:/settingsclient \ -v ${mypath}/hybrid/connect:/settingsclient \
-v /lib/modules:/lib/modules \ -v /lib/modules:/lib/modules \
--restart unless-stopped \ --restart unless-stopped \
hub.swarmlab.io:5480/venusclient:latest /bin/bash -c "pm2-runtime start /app/swarmlab-venus/client_ecosystem.config.js" hub.swarmlab.io:5480/venusclient:latest
docker exec -it swarmlabwg /bin/bash -c "pm2-runtime start /app/swarmlab-venus/client_ecosystem.config.js"
` `
fs.writeFileSync('./hybrid/connect/swarmlabwg', myExec); fs.writeFileSync('./hybrid/connect/swarmlabwg', myExec);
fs.writeFileSync('./hybrid/connect/swarmlabstatus', 'wgstatusclient=off'); fs.writeFileSync('./hybrid/connect/swarmlabstatus', 'wgstatusclient=off');

2
stop

@ -1,4 +1,4 @@
pm2 stop hybridserver pm2 stop venusclient
sleep 1 sleep 1
pm2 status pm2 status

Loading…
Cancel
Save