code: public static ServiceController<String> addService(final ServiceName name, final String path,
                                                         boolean possiblyAbsolute, final String relativeTo, final ServiceTarget serviceTarget) {
  
          if (possiblyAbsolute && isAbsoluteUnixOrWindowsPath(path)) {
              return AbsolutePathService.addService(name, path, serviceTarget);
          }
  
          RelativePathService service = new RelativePathService(path);
          ServiceBuilder<String> builder =  serviceTarget.addService(name, service)
              .addDependency(pathNameOf(relativeTo), String.class, service.injectedPath);
          ServiceController<String> svc = builder.install();
          return svc;
      }
docs: Installs a path service.
  
  @param name  the name to use for the service
  @param path the relative portion of the path
  @param possiblyAbsolute {@code true} if {@code path} may be an {@link #isAbsoluteUnixOrWindowsPath(String) absolute path}
  and should be {@link AbsolutePathService installed as such} if it is, with any
  {@code relativeTo} parameter ignored
  @param relativeTo the name of the path that {@code path} may be relative to
  @param serviceTarget the {@link ServiceTarget} to use to install the service
  @return the ServiceController for the path service