yacy_search_server/startYACY.sh
(no author) e2a884031c *) added new lib dir to classpath.
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@29 6c8d7289-2bf4-0310-a012-ef5d649a1542
2005-04-19 08:17:16 +00:00

19 lines
585 B
Bash
Executable File

#!/bin/sh
if [ $UID -eq 0 ]
then
echo
echo "For security reasons, you should not run this as root!"
echo
else
cd `dirname $0`
if [ x$1 != x-d ]
then
nohup java -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar yacy >> yacy.log &
echo "YaCy started as daemon process. View it's activity in yacy.log"
echo "To stop YaCy, please execute stopYACY.sh and wait some seconds"
echo "To administrate YaCy, start your web browser and open http://localhost:8080"
else
java -classpath classes:lib/commons-collections.jar:lib/commons-pool-1.2.jar yacy
fi
fi