Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
-t(aillog) option, to start monitoring the log after startup. So you see the log, but can stop viewing it with ctrl+c, without stopping yacy.
alloa723c2809de4
diff --git a/startYACY.sh b/startYACY.shindex 4561fde80..a6a652309 100755--- a/startYACY.sh+++ b/startYACY.sh@@ -20,7 +20,7 @@ fi#startup YaCycd "`dirname $0`"-options="`getopt -n YaCy -o d,l,p -- $@`"+options="`getopt -n YaCy -o d,l,p,t -- $@`"if [ $? -ne 0 ];thenexit 1;fi@@ -31,6 +31,7 @@ parameter="" #parameters will be collected hereLOGGING=0DEBUG=0PRINTONLY=0+TAILLOG=0for option in $options;doif [ $isparameter -ne 1 ];then #optionif [ "$option" = "-l" ];then@@ -39,14 +40,16 @@ for option in $options;doecho "can not combine -l and -d"exit 1;fi- elif [ x$option = "x-d" ];then+ elif [ "$option" = "-d" ];thenDEBUG=1if [ $LOGGING -eq 1 ];thenecho "can not combine -l and -d"exit 1;fi- elif [ x$option = "x-p" ];then+ elif [ "$option" = "-p" ];thenPRINTONLY=1+ elif [ "$option" = "-t" ];then+ TAILLOG=1fi #which optionelse #parameterif [ x$option = "--" ];then #option / parameter seperator@@ -98,4 +101,7 @@ elseecho "*******************************************************************************"echo " >> YaCy started as daemon process. Administration at http://localhost:8080 << "eval $cmdline+ if [ "$TAILLOG" -eq "1" -a ! "$DEBUG" -eq "1" ];then+ tail -f DATA/LOG/yacy00.log+ fifi