annotate master/bin/wakeWorker.sh @ 56:8ce6a81e2bb4

remove -s 4
author Henry S. Thompson <ht@markup.co.uk>
date Wed, 27 May 2020 20:54:14 +0000
parents 1099246f22b6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
54
1099246f22b6 new scripts
Henry S. Thompson <ht@markup.co.uk>
parents:
diff changeset
1 # Usage . wakeWorker.sh name
1099246f22b6 new scripts
Henry S. Thompson <ht@markup.co.uk>
parents:
diff changeset
2 # Resurrect a worker cluster that was deallocated
1099246f22b6 new scripts
Henry S. Thompson <ht@markup.co.uk>
parents:
diff changeset
3 set -e -o pipefail
1099246f22b6 new scripts
Henry S. Thompson <ht@markup.co.uk>
parents:
diff changeset
4 name=$1
1099246f22b6 new scripts
Henry S. Thompson <ht@markup.co.uk>
parents:
diff changeset
5 echo restarting...
1099246f22b6 new scripts
Henry S. Thompson <ht@markup.co.uk>
parents:
diff changeset
6 az vmss restart -g cc -n $name
1099246f22b6 new scripts
Henry S. Thompson <ht@markup.co.uk>
parents:
diff changeset
7 . bindWorkerVars.sh $name