public static void noFork(TikaServerConfig tikaServerConfig) throws Exception {
        List<String> args = tikaServerConfig.getForkedProcessArgs(tikaServerConfig.getPort(), tikaServerConfig.getIdBase());
        args.add("--noFork");
        TikaServerProcess.main(args.toArray(new String[0]));
    }
This value is set to the server's id in the forked process.
tika-server/tika-server-core/src/main/java/org/apache/tika/server/core/TikaServerCli.java