mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
9e4bcc828d
see: http://www.yacy-forum.de/viewtopic.php?p=4045 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@264 6c8d7289-2bf4-0310-a012-ef5d649a1542
11 lines
392 B
Bash
Executable File
11 lines
392 B
Bash
Executable File
#!/bin/sh
|
|
cd `dirname $0`
|
|
|
|
# generating the proper classpath
|
|
CLASSPATH=""
|
|
for N in `ls -1 lib/*.jar`; do CLASSPATH="$CLASSPATH$N:"; done
|
|
for N in `ls -1 libx/*.jar`; do CLASSPATH="$CLASSPATH$N:"; done
|
|
|
|
java -classpath classes:htroot:$CLASSPATH yacy -shutdown
|
|
echo "please wait until the YaCy daemon process terminates"
|
|
echo "you can monitor this with 'tail -f yacy.log' and 'fuser yacy.log'" |