stone пре 4 година
родитељ
комит
7f505e4991
1 измењених фајлова са 7 додато и 1 уклоњено
  1. 7 1
      start.sh

+ 7 - 1
start.sh

@@ -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