blog/scripts/remote.sh

9 lines
101 B
Bash
Executable File

HOST=$1
if [[ -z $1 ]];
then
HOST="web"
echo $HOST
fi
ssh $HOST /srv/blog/scripts/update.sh