|
@@ -42,4 +42,10 @@ done
|
|
|
if [ -f "$LOG_FILE" ]; then
|
|
|
mv $LOG_FILE ${LOG_FILE}.bak
|
|
|
fi
|
|
|
-nohup java -server -Xloggc:gc.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCApplicationConcurrentTime -XX:+UseConcMarkSweepGC -Xmx4g -Xms4g -Xmn2g -classpath $CLASSPATH com.easou.ps.misc.main.MiscServer $SEARCH_PORT $HTTP_PORT $WEB_ROOT > $LOG_FILE
|
|
|
+nohup java -server -Xloggc:gc.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCApplicationConcurrentTime -XX:+UseConcMarkSweepGC -Xmx4g -Xms4g -Xmn2g -classpath $CLASSPATH com.easou.ps.misc.main.MiscServer $SEARCH_PORT $HTTP_PORT $WEB_ROOT > $LOG_FILE &
|
|
|
+
|
|
|
+ip=`/sbin/ifconfig eth0 | grep "inet addr" | cut -d':' -f2 | cut -d' ' -f1`
|
|
|
+
|
|
|
+echo
|
|
|
+echo "####################### miscSearch started ########################"
|
|
|
+echo
|