mailiverse/deploy/server-shutdown
2013-08-16 15:34:54 -04:00

10 lines
162 B
Plaintext
Executable File

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