summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2023-02-17 12:07:17 +0100
committerJoe <bousset.rudy@gmail.com>2023-02-17 12:07:17 +0100
commit56571b577641f33e5b0d0704cd392237e4aaeec8 (patch)
treebb0a5b52ae56d30bb05cf9171cb400e7d7a21950 /.local
parentup (diff)
downloaddotfiles-bsd-56571b577641f33e5b0d0704cd392237e4aaeec8.tar.gz
dotfiles-bsd-56571b577641f33e5b0d0704cd392237e4aaeec8.tar.bz2
dotfiles-bsd-56571b577641f33e5b0d0704cd392237e4aaeec8.tar.xz
dotfiles-bsd-56571b577641f33e5b0d0704cd392237e4aaeec8.tar.zst
dotfiles-bsd-56571b577641f33e5b0d0704cd392237e4aaeec8.zip
up
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/vps24
1 files changed, 9 insertions, 15 deletions
diff --git a/.local/bin/vps b/.local/bin/vps
index 231d1d3..c572b5e 100755
--- a/.local/bin/vps
+++ b/.local/bin/vps
@@ -1,48 +1,42 @@
#!/bin/sh
serv_addr="95.179.223.82"
+serv_port="10022"
# joe-www
-rsync -avh --no-o --no-g --progress --delete-after \
+rsync -avh --port=$serv_port --no-o --no-g --progress --delete-after \
--exclude '.*' \
--exclude 'README.org' \
--exclude 'LICENSE' \
--exclude 'asm-example.cgi' \
"$HOME"/dev/web/joe-www/ \
root@$serv_addr:/var/jail/www/usr/local/www/jozan
-# joe-gemini
-rsync -avh --no-o --no-g --progress --delete-after \
- --exclude '.*' \
- --exclude 'README.org' \
- --exclude 'LICENSE' \
- "$HOME"/dev/web/joe-gemini/ \
- root@$serv_addr:/var/jail/www/usr/local/gemini
# gitjoe-cgit
-rsync -avh --no-o --no-g --progress --delete-after \
+rsync -avh --port=$serv_port --no-o --no-g --progress --delete-after \
--exclude 'cgit.cgi' \
--exclude '.*' \
--exclude 'README.org' \
--exclude 'LICENSE' \
"$HOME"/dev/web/gitjoe-cgit/ \
root@$serv_addr:/usr/local/www/gitjoe
-rsync -avh --no-o --no-g --progress \
+rsync -avh --port=22 --no-o --no-g --progress \
"$HOME"/dev/perl/gitjoe-scripts/git-ro-daemon.csh \
git-ro@$serv_addr:/usr/local/git/git-ro
# joe-scripts
-rsync -avh --no-o --no-g --progress --delete-after \
+rsync -avh --port=$serv_port --no-o --no-g --progress --delete-after \
--exclude '.*' \
--exclude 'README.org' \
--exclude 'LICENSE' \
"$HOME"/dev/perl/joe-scripts/ \
root@$serv_addr:/root/bin/joe
# gitjoe-scripts
-rsync -avh --no-o --no-g --progress --delete-after \
+rsync -avh --port=$serv_port --no-o --no-g --progress --delete-after \
--exclude '.*' \
--exclude 'README.org' \
--exclude 'LICENSE' \
"$HOME"/dev/perl/gitjoe-scripts/src/ \
root@$serv_addr:/root/bin/gitjoe
# backups
-rsync -avh --no-o --no-g --progress "$XDG_CONFIG_HOME"/newsboat/urls root@$serv_addr:/root/backup/apps/newsboat
-rsync -avh --no-o --no-g --progress --delete-after "$XDG_DATA_HOME"/calcurse/ root@$serv_addr:/root/backup/apps/calcurse
-rsync -avh --no-o --no-g --progress "$XDG_DATA_HOME"/abook/addressbook root@$serv_addr:/root/backup/apps/abook
+rsync -avh --port=$serv_port --no-o --no-g --progress "$XDG_CONFIG_HOME"/newsboat/urls root@$serv_addr:/root/backup/apps/newsboat
+rsync -avh --port=$serv_port --no-o --no-g --progress --delete-after "$XDG_DATA_HOME"/calcurse/ root@$serv_addr:/root/backup/apps/calcurse
+rsync -avh --port=$serv_port --no-o --no-g --progress "$XDG_DATA_HOME"/abook/addressbook root@$serv_addr:/root/backup/apps/abook