class_docstr: Service that resuscitates itself if it is not available. 
code: def __init__(
      self,
      start_cmd,
      stop_cmd,
      endpoint,
      stdout=None,
      stderr=None,
      be_quiet=False,
      host=None,
      port=None,
      ignore_binding_error=False,
  ):
      self.start_cmd = start_cmd and shlex.split(start_cmd)
      self.stop_cmd = stop_cmd and shlex.split(stop_cmd)
      self.endpoint = endpoint
      self.stdout = stdout
      self.stderr = stderr
  
      self.server = None
      self.is_active = False
      self.be_quiet = be_quiet
      self.host = host
      self.port = port
      self.ignore_binding_error = ignore_binding_error
      atexit.register(self.atexit_kill)
  
imports: import atexit
  import contextlib
  import enum
  import io
  import os
  import re
  import requests
  import logging
  import json
  import shlex
  import socket
  import subprocess
  import time
  import sys
  import uuid
  from datetime import datetime
  from pathlib import Path
  from urllib.parse import urlparse
  from stanza.protobuf import Document, parseFromDelimitedString, writeToDelimitedString, to_text
label_desc: Use image node_id 1 to create a new RobustService object from inherited base classes: object with example: obj = RobustService(start_cmd, stop_cmd, endpoint, stdout, stderr, be_quiet, host, port, ignore_binding_error)