summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/vps-update12
1 files changed, 7 insertions, 5 deletions
diff --git a/.local/bin/vps-update b/.local/bin/vps-update
index 9bd5d6d..e09f515 100755
--- a/.local/bin/vps-update
+++ b/.local/bin/vps-update
@@ -1,11 +1,13 @@
#!/usr/local/bin/dash
+serv_addr="root@jozanofastora.xyz"
+
rsync -urvhP --delete-after --exclude '.*' --exclude 'README.org' \
- "$HOME"/dev/web/jozanleclerc.xyz/ root@jozanofastora.xyz:/usr/local/www/jozan
+ "$HOME"/dev/web/jozanofastora.xyz/ $serv_addr:/usr/local/www/jozan
rsync -urvhP --exclude '.*' --exclude 'README.org' \
- "$HOME"/dev/web/gitjoe/ root@jozanofastora.xyz:/usr/local/www/gitjoe
+ "$HOME"/dev/web/gitjoe/ $serv_addr:/usr/local/www/gitjoe
rsync -urvhP --delete-after --exclude '.*' --exclude 'README.org' \
- "$HOME"/dev/web/jozan_gemini/ root@jozanofastora.xyz:/usr/local/gemini
+ "$HOME"/dev/web/jozan_gemini/ $serv_addr:/usr/local/gemini
rsync -urvhP --delete-after --exclude '.*' --exclude 'README.org' --exclude 'LICENSE' \
- "$HOME"/dev/perl/serv-scripts/ root@jozanofastora.xyz:/root/scripts
-rsync -urvhP "$HOME/.config/newsboat/urls" root@jozanofastora.xyz:/root/backup/apps/newsboat
+ "$HOME"/dev/perl/serv-scripts/ $serv_addr:/root/scripts
+rsync -urvhP "$HOME/.config/newsboat/urls" $serv_addr:/root/backup/apps/newsboat