deploy_local.sh 321 B

1234
  1. # nohup socat -v tcp-listen:12345,fork,reuseaddr tcp:192.168.0.137:22 &
  2. # rsync -e `ssh -p 60$2` -avR --delete --progress bin/ ./bin data/ ./data/ shell ./shell/ cfg/ ./cfg/ root@10.8.0.$1:/program/ctnd/
  3. rsync -avzR --update --progress bin/ ./bin data/ ./data/ shell ./shell/ cfg/ ./cfg/ root@192.168.8.$1:/program/ctnd/