summaryrefslogtreecommitdiff
path: root/stopYACY.sh
blob: 7fafb75fec72287aa03fca249b477af53048ef00 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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:$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'"