Mercurial > hg > cc > azure
diff master/bin/wakeWorker.sh @ 54:1099246f22b6
new scripts
author | Henry S. Thompson <ht@markup.co.uk> |
---|---|
date | Fri, 08 Feb 2019 17:46:49 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/master/bin/wakeWorker.sh Fri Feb 08 17:46:49 2019 +0000 @@ -0,0 +1,7 @@ +# Usage . wakeWorker.sh name +# Resurrect a worker cluster that was deallocated +set -e -o pipefail +name=$1 +echo restarting... +az vmss restart -g cc -n $name +. bindWorkerVars.sh $name