*) *NIX start script displays the right port number now instead of always displaying 8080 no matter what the port is set to

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4521 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
low012 17 years ago
parent 8c06436c4a
commit ce8adf9907

@ -91,6 +91,8 @@ then
if [ ! -z "$j" ];then
if [ -n $j ]; then JAVA="nice -n $j $JAVA"; fi;
fi
PORT="`grep ^port= DATA/SETTINGS/httpProxy.conf | sed 's/^[^=]*=//'`";
# for i in `grep javastart DATA/SETTINGS/httpProxy.conf`;do
# i="${i#javastart_*=}";
@ -98,6 +100,7 @@ then
# done
else
JAVA_ARGS="-Xmx120m -Xms120m $JAVA_ARGS";
PORT="8080"
fi
#echo "JAVA_ARGS: $JAVA_ARGS"
#echo "JAVA: $JAVA"
@ -127,7 +130,7 @@ else
echo "** STOP YaCy: execute stopYACY.sh and wait some seconds **"
echo "** GET HELP for YaCy: see www.yacy-websearch.net/wiki and forum.yacy.de **"
echo "*******************************************************************************"
echo " >> YaCy started as daemon process. Administration at http://localhost:8080 << "
echo " >> YaCy started as daemon process. Administration at http://localhost:$PORT << "
eval $cmdline
if [ "$TAILLOG" -eq "1" -a ! "$DEBUG" -eq "1" ];then
tail -f DATA/LOG/yacy00.log

Loading…
Cancel
Save