Wait less time between restarts

This commit is contained in:
Joshua Boniface 2023-11-29 16:14:45 -05:00
parent 11db3c5b20
commit b8aecd9c83
1 changed files with 3 additions and 3 deletions

View File

@ -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..."