mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
fix for new starter files
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5002 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
b63a519456
commit
28c39e2aa4
|
@ -378,8 +378,8 @@ public final class yacyVersion implements Comparator<yacyVersion>, Comparable<ya
|
|||
|
||||
if (serverSystem.isWindows) {
|
||||
File startType = new File(sb.getRootPath(), "DATA/yacy.noconsole".replace("/", File.separator));
|
||||
String starterFile = "startYACY.bat";
|
||||
if (startType.exists()) starterFile = "startYACY_noconsole.bat"; // startType noconsole
|
||||
String starterFile = "startYACY_debug.bat";
|
||||
if (startType.exists()) starterFile = "startYACY.bat"; // startType noconsole
|
||||
|
||||
try{
|
||||
serverLog.logInfo("RESTART", "INITIATED");
|
||||
|
@ -456,8 +456,8 @@ public final class yacyVersion implements Comparator<yacyVersion>, Comparable<ya
|
|||
String scriptFileName = null;
|
||||
if(serverSystem.isWindows){
|
||||
File startType = new File(sb.getRootPath(), "DATA/yacy.noconsole".replace("/", File.separator));
|
||||
String starterFile = "startYACY.bat";
|
||||
if (startType.exists()) starterFile = "startYACY_noconsole.bat"; // startType noconsole
|
||||
String starterFile = "startYACY_debug.bat";
|
||||
if (startType.exists()) starterFile = "startYACY.bat"; // startType noconsole
|
||||
script =
|
||||
"@echo off" + serverCore.LF_STRING +
|
||||
"title YaCy updater" + serverCore.LF_STRING +
|
||||
|
|
Loading…
Reference in New Issue
Block a user