Explorar el Código

更新 'start.sh'

stone hace 4 años
padre
commit
99e67f8e1e
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. 6 1
      start.sh

+ 6 - 1
start.sh

@@ -41,4 +41,9 @@ 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