2022-11-04 15:02:02 +01:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
|
|
|
# Create folder
|
|
|
|
ssh hod.emersa.it "mkdir -p chatstream"
|
|
|
|
|
2022-11-04 15:33:36 +01:00
|
|
|
tar --exclude='./.git' --exclude='./node_modules' --zstd -cvf - . \
|
2022-11-04 15:02:02 +01:00
|
|
|
| ssh hod.emersa.it tar -C chatstream --zstd -xvf -
|
|
|
|
|
|
|
|
# ssh -N hod.emersa.it "cd chatstream; pkill -f node; ./start.sh &"
|