def METHOD_NAME(jail=""):
    """
    Restart the specified jail or all, if none specified
    CLI Example:
    .. code-block:: bash
        salt '*' jail.restart [<jail name>]
    """
    cmd = "service jail onerestart {}".format(jail)
    return not __salt__["cmd.retcode"](cmd)