enroll.sh/upload.sh
2026-01-02 08:23:28 +11:00

10 lines
171 B
Bash
Executable file

#!/bin/bash
set -eou pipefail
SRC="src"
DEST="/opt/www/enroll.sh"
rsync -aHPvz ${SRC}/ root@lupin.mig5.net:${DEST}/
ssh root@lupin.mig5.net "chown -R web:web ${DEST}"