]> WPIA git - gigi.git/commitdiff
fix: quick development-restart
authorFelix Dörre <felix@dogcraft.de>
Mon, 27 Feb 2017 23:02:59 +0000 (00:02 +0100)
committerFelix Dörre <felix@dogcraft.de>
Mon, 27 Feb 2017 23:08:56 +0000 (00:08 +0100)
Change-Id: I29ea805efbf4abb74564bea1b819b5a8b8e9f4de

util-testing/club/wpia/gigi/DevelLauncher.java

index 306c6474304b30c8a7cb2681117a98f58e7cf6e8..9789637a6b7c3fa8e6548fb119cf3e8c58907c3b 100644 (file)
@@ -103,7 +103,7 @@ public class DevelLauncher {
     private static void killPreviousInstance(Properties mainProps) {
         try {
             String targetPort = mainProps.getProperty("http.port");
-            String targetHost = mainProps.getProperty("name.www");
+            String targetHost = mainProps.getProperty("name.www", "www." + mainProps.getProperty("name.suffix"));
             URL u = new URL("http://" + targetHost + ":" + targetPort + "/kill");
             u.openStream();
         } catch (IOException e) {