Remove some legacy in those restart script.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
# First, restart the daemon
systemctl restart ceph-mds@${MDS_NAME}
-COUNT=10
# Wait and ensure the socket exists after restarting the daemds
while [ $RETRIES -ne 0 ]; do
$DOCKER_EXEC test -S $SOCKET && exit 0
# First, restart the daemon
systemctl restart ceph-mgr@${MGR_NAME}
-COUNT=10
# Wait and ensure the socket exists after restarting the daemds
while [ $RETRIES -ne 0 ]; do
$DOCKER_EXEC test -S $SOCKET && exit 0
# First, restart the daemon
{% if containerized_deployment -%}
systemctl restart $NFS_NAME
-COUNT=10
# Wait and ensure the pid exists after restarting the daemon
while [ $RETRIES -ne 0 ]; do
$DOCKER_EXEC test -f $PID && exit 0
# First, restart the daemon
systemctl restart ceph-rbd-mirror@rbd-mirror.${RBD_MIRROR_NAME}
-COUNT=10
# Wait and ensure the socket exists after restarting the daemon
while [ $RETRIES -ne 0 ]; do
$DOCKER_EXEC test -S $SOCKET && exit 0