Wait less time between restarts
This commit is contained in:
parent
11db3c5b20
commit
b8aecd9c83
|
@ -64,11 +64,11 @@ for HOST in ${HOSTS[@]}; do
|
||||||
echo " done."
|
echo " done."
|
||||||
echo -n "Restarting PVC daemons..."
|
echo -n "Restarting PVC daemons..."
|
||||||
ssh $HOST $SUDO systemctl restart pvcapid &>/dev/null
|
ssh $HOST $SUDO systemctl restart pvcapid &>/dev/null
|
||||||
sleep 5
|
sleep 2
|
||||||
ssh $HOST $SUDO systemctl restart pvcworkerd &>/dev/null
|
ssh $HOST $SUDO systemctl restart pvcworkerd &>/dev/null
|
||||||
sleep 5
|
sleep 2
|
||||||
ssh $HOST $SUDO systemctl restart pvchealthd &>/dev/null
|
ssh $HOST $SUDO systemctl restart pvchealthd &>/dev/null
|
||||||
sleep 5
|
sleep 2
|
||||||
ssh $HOST $SUDO systemctl restart pvcnoded &>/dev/null
|
ssh $HOST $SUDO systemctl restart pvcnoded &>/dev/null
|
||||||
echo " done."
|
echo " done."
|
||||||
echo -n "Waiting for node daemon to be running..."
|
echo -n "Waiting for node daemon to be running..."
|
||||||
|
|
Loading…
Reference in New Issue