yacy_search_server/startYACY.sh
orbiter 248077d3f0 initial load with yacy 0.36
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1 6c8d7289-2bf4-0310-a012-ef5d649a1542
2005-04-07 19:19:42 +00:00

19 lines
479 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 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 yacy
fi
fi