Restore build-and-deploy script

This commit is contained in:
Joshua Boniface 2020-08-25 13:12:20 -04:00
parent eb06c1494e
commit 354150f757
1 changed files with 6 additions and 4 deletions

View File

@ -33,8 +33,10 @@ for HOST in ${HOSTS[@]}; do
ssh $HOST rm -rf /tmp/pvc ssh $HOST rm -rf /tmp/pvc
echo "Restarting PVC node daemon..." echo "Restarting PVC node daemon..."
ssh $HOST $SUDO systemctl restart pvcapid ssh $HOST $SUDO systemctl restart pvcapid
# echo "****" ssh $HOST $SUDO systemctl restart pvcapid-worker
# echo "Waiting 15s for host ${HOST} to stabilize" ssh $HOST $SUDO systemctl restart pvcnoded
# echo "****" echo "****"
# sleep 15 echo "Waiting 15s for host ${HOST} to stabilize"
echo "****"
sleep 15
done done