Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
Fix for startup option
luccioman24b87412921c
diff --git a/startYACY.sh b/startYACY.shindex 567cc5e89..5e52a9292 100755--- a/startYACY.sh+++ b/startYACY.sh@@ -40,7 +40,7 @@ Options-l, --logging save the output of YaCy to yacy.log-d, --debug show the output of YaCy on the console-p, --print-out only print the command, which would be executed to start YaCy- -start, -startup [data-path] start YaCy using the specified data folder path, relative to the current user home+ --start, --startup [data-path] start YaCy using the specified data folder path, relative to the current user home-g, --gui start a gui for YaCyUSAGE}@@ -57,7 +57,7 @@ thenoptions="`getopt hdlptg: $*`"else- options="`getopt -n YaCy -o h,d,l,p,t,g -l help,debug,logging,print-out,tail-log,gui -- $@`"+ options="`getopt -n YaCy -o h,d,l,p,t,g -l help,debug,logging,print-out,tail-log,gui,start,startup -- $@`"fiif [ $? -ne 0 ];then@@ -72,6 +72,7 @@ LOGGING=0DEBUG=0PRINTONLY=0TAILLOG=0+STARTUP=0GUI=0for option in $options;doif [ $isparameter -ne 1 ];then #option@@ -202,8 +203,7 @@ cmdline="$JAVA $JAVA_ARGS -classpath $CLASSPATH net.yacy.yacy";if [ $STARTUP -eq 1 ] #startupthencmdline="$cmdline -startup $parameter"-elif [ $GUI -eq 1 ] #gui-then+elif [ $GUI -eq 1 ];then #guicmdline="$cmdline -gui $parameter"fiif [ $DEBUG -eq 1 ] #debug