From 374ecea4356920f88a796090dd3d860d46b8affe Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Wed, 10 Feb 2016 09:05:27 -0500 Subject: [PATCH] Remove dead support for Java Service Wrapper This commit removes bootstrap support for Java Service Wrapper. The implementation of this has been moved to its own repository where it was deprecated, does not work with Elasticsearch 2.x, and is untested and therefore unmaintained. Closes #16580 --- core/src/main/java/org/elasticsearch/bootstrap/Bootstrap.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/src/main/java/org/elasticsearch/bootstrap/Bootstrap.java b/core/src/main/java/org/elasticsearch/bootstrap/Bootstrap.java index a1468f47fc8..70e9ca85ee7 100644 --- a/core/src/main/java/org/elasticsearch/bootstrap/Bootstrap.java +++ b/core/src/main/java/org/elasticsearch/bootstrap/Bootstrap.java @@ -254,10 +254,6 @@ final class Bootstrap { INSTANCE = new Bootstrap(); boolean foreground = !"false".equals(System.getProperty("es.foreground", System.getProperty("es-foreground"))); - // handle the wrapper system property, if its a service, don't run as a service - if (System.getProperty("wrapper.service", "XXX").equalsIgnoreCase("true")) { - foreground = false; - } Environment environment = initialSettings(foreground); Settings settings = environment.settings();