mailiverse/deploy/server-shutdown
2013-08-09 17:31:37 -04:00

9 lines
133 B
Plaintext
Executable File

if [ -z "$1" ]; then echo "Must supply name"; exit 0; fi
server="blue"
echo stopping...
ssh $1@$server "cd deploy && ./shutdown"