#!/usr/bin/env bash
# opensim restart: Stops, then starts grids (with their simulators) and simulators.

USAGE='opensim restart [-hqv] [--robust | --simulators | --full] [now] [INSTANCE...]'
HELP="Stops, then starts grids (with their simulators) and simulators. --robust: the Robust of a grid alone. --simulators: its simulators alone. --full: both, as without an option."

source "$(dirname "$(realpath "${BASH_SOURCE[0]}" 2>/dev/null || echo "${BASH_SOURCE[0]}")")/../src/lib/common"

run restart "$@"
