diff --git a/build-and-deploy.sh b/build-and-deploy.sh index f013e597..72842093 100755 --- a/build-and-deploy.sh +++ b/build-and-deploy.sh @@ -33,8 +33,10 @@ for HOST in ${HOSTS[@]}; do ssh $HOST rm -rf /tmp/pvc echo "Restarting PVC node daemon..." ssh $HOST $SUDO systemctl restart pvcapid -# echo "****" -# echo "Waiting 15s for host ${HOST} to stabilize" -# echo "****" -# sleep 15 + ssh $HOST $SUDO systemctl restart pvcapid-worker + ssh $HOST $SUDO systemctl restart pvcnoded + echo "****" + echo "Waiting 15s for host ${HOST} to stabilize" + echo "****" + sleep 15 done