Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fixed broken startscript.
allo0b89dc7dce7e
diff --git a/startYACY.sh b/startYACY.shindex 9206969da..378ac846e 100755--- a/startYACY.sh+++ b/startYACY.sh@@ -4,12 +4,13 @@ thenechoecho "For security reasons, you should not run this script as root!"echo- exit 2-elif ! [-x "`which java`"]+ exit 1+elif [ ! -x "`which java`" ]+thenecho "The java command is not executable."echo "Either you have not installed java or it is not in your PATH"echo "Has this script been invoked by CRON? Then use the -c option."- exit 2+ exit 1#-c to be imlemented.#Possible locations for setting of PATH@@ -25,7 +26,7 @@ elif ! [-x "`which java`"]#csh, tcsh#. /etc/csh.login-elif [-x "`which java`"]+else#startup YaCycd `dirname $0`@@ -43,11 +44,11 @@ elif [-x "`which java`"]for N in lib/*.jar; do CLASSPATH="$CLASSPATH$N:"; donefor N in libx/*.jar; do CLASSPATH="$CLASSPATH$N:"; done- if [ x$1 == x-d ] #debug+ if [ "x$1" == "x-d" ] #debugthenjava $java_args -classpath classes:$CLASSPATH yacyexit 0- elif [ x$1 == x-l ] #logging+ elif [ "x$1" == "x-l" ] #loggingthennohup java $java_args -classpath classes:htroot:$CLASSPATH yacy >> yacy.log &else