"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "start.sh" between
opensearchserver-1.5.13-2b6dfa4.tar.gz and opensearchserver-1.5.14-d0d167e.tar.gz

About: Open Search Server is both a modern search engine and a suite of full text search algorithms (based on Apache Lucene and Apache Tomcat).

start.sh  (opensearchserver-1.5.13-2b6dfa4):start.sh  (opensearchserver-1.5.14-d0d167e)
#!/bin/sh #!/bin/sh
# Move to the directory containing this script # Move to the directory containing this script
cd `dirname "$0"` cd `dirname "$0"`
# #
LANG=en_US.UTF-8 LANG=en_US.UTF-8
export LANG export LANG
JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=UTF-8" JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=UTF-8 -Djava.protocol.handler.pkgs=jcifs"
# The directory containing the indexes (must be exported) # The directory containing the indexes (must be exported)
OPENSEARCHSERVER_DATA=data OPENSEARCHSERVER_DATA=data
export OPENSEARCHSERVER_DATA export OPENSEARCHSERVER_DATA
# The TCP port used by the server # The TCP port used by the server
SERVER_PORT=9090 SERVER_PORT=9090
# Any JAVA option. Often used to allocate more memory. Uncomment this line to al locate 1GB. # Any JAVA option. Often used to allocate more memory. Uncomment this line to al locate 1GB.
#JAVA_OPTS="$JAVA_OPTS -Xms1G -Xmx1G" #JAVA_OPTS="$JAVA_OPTS -Xms1G -Xmx1G"
# Starting the server # Starting the server
eval java $JAVA_OPTS -jar opensearchserver.jar \ eval java $JAVA_OPTS -jar opensearchserver.jar \
-extractDirectory server \ -extractDirectory server \
-httpPort ${SERVER_PORT} \ -httpPort ${SERVER_PORT} \
-Djava.protocol.handler.pkgs=jcifs \
-Doss.externalparser.classpath=lib/ext/* \
-uriEncoding UTF-8 \ -uriEncoding UTF-8 \
>> "logs/oss.log" 2>&1 "&" >> "logs/oss.log" 2>&1 "&"
# Writing the PID # Writing the PID
echo $! > "logs/oss.pid" echo $! > "logs/oss.pid"
 End of changes. 2 change blocks. 
3 lines changed or deleted 1 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS