view 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 source

# 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