From b8aecd9c83f6a3f713d4e0d4055a2a20f39d8923 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Wed, 29 Nov 2023 16:14:45 -0500 Subject: [PATCH] Wait less time between restarts --- build-and-deploy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build-and-deploy.sh b/build-and-deploy.sh index e78ad4ea..31c3a16c 100755 --- a/build-and-deploy.sh +++ b/build-and-deploy.sh @@ -64,11 +64,11 @@ for HOST in ${HOSTS[@]}; do echo " done." echo -n "Restarting PVC daemons..." ssh $HOST $SUDO systemctl restart pvcapid &>/dev/null - sleep 5 + sleep 2 ssh $HOST $SUDO systemctl restart pvcworkerd &>/dev/null - sleep 5 + sleep 2 ssh $HOST $SUDO systemctl restart pvchealthd &>/dev/null - sleep 5 + sleep 2 ssh $HOST $SUDO systemctl restart pvcnoded &>/dev/null echo " done." echo -n "Waiting for node daemon to be running..."