|
|
|
@ -224,6 +224,11 @@ else
|
|
|
|
|
echo "** STOP YaCy: execute stopYACY.sh and wait some seconds **"
|
|
|
|
|
echo "** GET HELP for YaCy: see http://wiki.yacy.net and http://forum.yacy.de **"
|
|
|
|
|
echo "*******************************************************************************"
|
|
|
|
|
if [ $DEBUG -eq 1 ] #debug
|
|
|
|
|
then
|
|
|
|
|
# with exec the java process become the main process and will receive signals such as SIGTERM
|
|
|
|
|
exec $cmdline
|
|
|
|
|
else
|
|
|
|
|
echo " >> YaCy started as daemon process. Administration at http://localhost:$PORT << "
|
|
|
|
|
eval $cmdline
|
|
|
|
|
if [ "$TAILLOG" -eq "1" -a ! "$DEBUG" -eq "1" ];then
|
|
|
|
@ -231,3 +236,4 @@ else
|
|
|
|
|
tail -f DATA/LOG/yacy00.log
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|