]> WPIA git - gigi.git/blobdiff - util-testing/club/wpia/gigi/DevelLauncher.java
fix: add missing timecondition during init process
[gigi.git] / util-testing / club / wpia / gigi / DevelLauncher.java
index 3858031252809cc966eb6272480db2b110188da4..9789637a6b7c3fa8e6548fb119cf3e8c58907c3b 100644 (file)
@@ -94,7 +94,7 @@ public class DevelLauncher {
             }
         }.start();
         BufferedReader br = new BufferedReader(new InputStreamReader(System.in, "UTF-8"));
-        System.out.println("Cacert-gigi system sucessfully started.");
+        System.out.println("Gigi system sucessfully started.");
         System.out.println("Press enter to shutdown.");
         br.readLine();
         System.exit(0);
@@ -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) {