Ignore:
Timestamp:
2009-11-03T18:19:49+13:00 (14 years ago)
Author:
ak19
Message:

When the GSI is about to run, messages are displayed to tell the user where the Greenstone server log and the apache error log files are.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/gs2-server.sh

    r20819 r20896  
    11#!/bin/bash
    2 serverlang=en
     2if [ -z "$serverlang" ]; then
     3    serverlang=en
     4fi
    35
    46java_min_version=1.5.0_00
     
    121123    export PATH=$javahome/bin:$PATH
    122124
     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
    123147    if [ "x$silent" == "x" -o "x$silent" != "xtrue" ]; then
    124148        # 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.