From af07007799c92b49ada0e71e6d90b95bf2c00ea5 Mon Sep 17 00:00:00 2001 From: Lotus Date: Sun, 14 Jul 2013 18:43:32 +0200 Subject: [PATCH] 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. --- startYACY.bat | 2 +- startYACY_debug.bat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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