Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

partly revert latest windows changes: YaCy has to be installed to a directory with write access for the running user. DATA folder is now used in the YaCy folder again. For using another location, the start script has to be heavily modified for loading proper start parameters after YaCy has been started once.

Lotusaf07007799c9
diff --git a/startYACY.bat b/startYACY.bat
index efa7aa2c9..2bfa7e536 100644
--- a/startYACY.bat
+++ b/startYACY.bat
@@ -30,7 +30,7 @@ Echo.
Echo You can download Java at http://java.com/
Echo.
Echo ***************************************************************************
-start %priority% javaw %javacmd% -classpath %CLASSPATH% net.yacy.yacy -start YaCy
+start %priority% javaw %javacmd% -classpath %CLASSPATH% net.yacy.yacy
Echo You can close the console safely now.
GoTo :END
diff --git a/startYACY_debug.bat b/startYACY_debug.bat
index 0221d5851..f8ff5a539 100644
--- a/startYACY_debug.bat
+++ b/startYACY_debug.bat
@@ -37,7 +37,7 @@ Echo ^>^> YaCy started as daemon process. Administration at http://localhost:%p
title YaCy - http://localhost:%port%
-start "YaCy" %priority% /B /WAIT java %javacmd% -classpath %CLASSPATH% net.yacy.yacy -start YaCy
+start "YaCy" %priority% /B /WAIT java %javacmd% -classpath %CLASSPATH% net.yacy.yacy
if not exist DATA\yacy.restart GoTo :END
del DATA\yacy.restart