docs: def service_reload(service_name, restart_on_failure=False, **kwargs):
      """Reload a system service, optionally falling back to restart if
      reload fails.
  
      The specified service name is managed via the system level init system.
      Some init systems (e.g. upstart) require that additional arguments be
      provided in order to directly control service instances whereas other init
      systems allow for addressing instances of a service directly by name (e.g.
      systemd).
  
      The kwargs allow for the additional parameters to be passed to underlying
      init systems for those systems which require/allow for them. For example,
      the ceph-osd upstart script requires the id parameter to be passed along
      in order to identify which running daemon should be reloaded. The follow-
      ing example restarts the ceph-osd service for instance id=4:
  
      service_reload('ceph-osd', id=4)
  
      :param service_name: the name of the service to reload
      :param restart_on_failure: boolean indicating whether to fallback to a
                                 restart if the reload fails.
      :param **kwargs: additional parameters to pass to the init system when
                       managing services. These will be passed as key=value
                       parameters to the  init system's commandline. kwargs
                       are ignored for init systems not allowing additional
                       parameters via the commandline (systemd).
      """
      service_result = service('reload', service_name, **kwargs)
      if not service_result and restart_on_failure:
          service_result = service('restart', service_name, **kwargs)
      return service_result