|
|
@ -11,9 +11,10 @@ For %%X in (libx/*.jar) Do Call %0 CPGEN libx\%%X
|
|
|
|
REM Please change the "javastart" settings in the web-interface "Basic Configuration" -> "Advanced"
|
|
|
|
REM Please change the "javastart" settings in the web-interface "Basic Configuration" -> "Advanced"
|
|
|
|
set jmx=
|
|
|
|
set jmx=
|
|
|
|
set jms=
|
|
|
|
set jms=
|
|
|
|
set javacmd=-Xmx64m -Xms10m
|
|
|
|
set javacmd=-Xmx94m -Xms94m
|
|
|
|
set priolvl=0
|
|
|
|
set priolvl=0
|
|
|
|
set priority=/NORMAL
|
|
|
|
set priority=/NORMAL
|
|
|
|
|
|
|
|
if exist DATA\SETTINGS\httpProxy.conf GoTo :RENAMEINDEX
|
|
|
|
if exist DATA\SETTINGS\yacy.conf GoTo :GETSTARTOPTS
|
|
|
|
if exist DATA\SETTINGS\yacy.conf GoTo :GETSTARTOPTS
|
|
|
|
|
|
|
|
|
|
|
|
:STARTJAVA
|
|
|
|
:STARTJAVA
|
|
|
@ -26,6 +27,17 @@ Echo You can close the console safely now.
|
|
|
|
|
|
|
|
|
|
|
|
GoTo :END
|
|
|
|
GoTo :END
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Rem PUBLIC is now freeworld (r4575)
|
|
|
|
|
|
|
|
:RENAMEINDEX
|
|
|
|
|
|
|
|
for /F "tokens=1,2 delims==" %%i in (DATA\SETTINGS\httpProxy.conf) do (
|
|
|
|
|
|
|
|
if "%%i"=="network.unit.name" set networkname=%%j
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
if not defined networkname set networkname=PUBLIC
|
|
|
|
|
|
|
|
cd DATA\INDEX
|
|
|
|
|
|
|
|
ren PUBLIC %networkname%
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
|
|
|
|
Rem This target is used to read java runtime parameters out of the yacy config file
|
|
|
|
Rem This target is used to read java runtime parameters out of the yacy config file
|
|
|
|
:GETSTARTOPTS
|
|
|
|
:GETSTARTOPTS
|
|
|
|
for /F "tokens=1,2 delims==" %%i in (DATA\SETTINGS\yacy.conf) do (
|
|
|
|
for /F "tokens=1,2 delims==" %%i in (DATA\SETTINGS\yacy.conf) do (
|
|
|
|