caddy-retired/scripts/deploy
2020-05-12 20:07:05 -07:00

4 lines
168 B
Bash
Executable file

#!/bin/bash
HOST=${1:-rrock64}
# run as root
sudo rsync -chavzP -e 'ssh -p22 -i /home/david/.ssh/privatekeys/sysadmin.kebler.net' /opt/caddy/ root@${HOST}:/opt/caddy