- Timestamp:
- 2009-11-03T18:19:49+13:00 (14 years ago)
- Location:
- gsdl/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/gs2-server.bat
r20819 r20896 2 2 SETLOCAL 3 3 4 set serverlang=en4 if "%serverlang%" == "" set serverlang=en 5 5 set java_min_version=1.5.0_00 6 set PROGNAME= "gs2-server"7 if "%PROGABBR%" == "" set PROGABBR= "GSI"6 set PROGNAME=gs2-server 7 if "%PROGABBR%" == "" set PROGABBR=GSI 8 8 pushd "%CD%" 9 9 CD /D "%~dp0" … … 127 127 128 128 :: ---- Run the Greenstone Server Interface ---- 129 :: Some informative messages to direct the users to the logs 130 if "%serverlang%" == "en" ( 131 echo *************************************************************** 132 echo Starting the Greenstone Server Interface (GSI)... 133 echo. 134 echo Server log messages go to: 135 echo $GSDLHOME/etc/logs-gsi/server.log 136 echo. 137 echo Using Apache web server located at: 138 echo $GSDLHOME/apache-httpd/$GSDLOS/bin/httpd 139 echo The Apache error log is at: 140 echo $GSDLHOME/apache-httpd/$GSDLOS/logs/error_log 141 echo The Apache configuration file template is at: 142 echo $GSDLHOME/apache-httpd/$GSDLOS/conf/httpd.conf.in 143 echo This is used to generate: 144 echo $GSDLHOME/apache-httpd/$GSDLOS/conf/httpd.conf 145 echo each time Enter Library is pressed or otherwise activated. 146 echo *************************************************************** 147 echo. 148 ) 129 149 echo. 130 150 "%JAVA_EXECUTABLE%" org.greenstone.server.Server2 "%GSDLHOME%" "%serverlang%" %* -
gsdl/trunk/gs2-server.sh
r20819 r20896 1 1 #!/bin/bash 2 serverlang=en 2 if [ -z "$serverlang" ]; then 3 serverlang=en 4 fi 3 5 4 6 java_min_version=1.5.0_00 … … 121 123 export PATH=$javahome/bin:$PATH 122 124 125 # some informative messages to direct the users to the logs 126 if [ "$serverlang" == "en" -o "x$serverlang" == "x" ]; then 127 echo "***************************************************************" 128 echo "Starting the Greenstone Server Interface (GSI)..." 129 echo 130 echo "Server log messages go to:" 131 echo " $GSDLHOME/etc/logs-gsi/server.log" 132 echo 133 echo "Using Apache web server located at:" 134 echo " $GSDLHOME/apache-httpd/$GSDLOS/bin/httpd" 135 echo "The Apache error log is at:" 136 echo " $GSDLHOME/apache-httpd/$GSDLOS/logs/error_log" 137 echo "The Apache configuration file template is at:" 138 echo " $GSDLHOME/apache-httpd/$GSDLOS/conf/httpd.conf.in" 139 echo "This is used to generate:" 140 echo " $GSDLHOME/apache-httpd/$GSDLOS/conf/httpd.conf" 141 echo " each time Enter Library is pressed or otherwise activated." 142 echo "***************************************************************" 143 echo 144 echo 145 fi 146 123 147 if [ "x$silent" == "x" -o "x$silent" != "xtrue" ]; then 124 148 # verbose mode, show all output, but then we can't run the server interface in the background
Note:
See TracChangeset
for help on using the changeset viewer.