Changeset 19427 for gsdl


Ignore:
Timestamp:
2009-05-13T13:27:44+12:00 (15 years ago)
Author:
ak19
Message:

Kathy suggested that once the local gs2 server was launched, the x-term prompt should return immediately. This will also solve problems like leaving the server in an inconsistent state when Ctrl-C is sent to the GSI application but which does not propagate to the underlying apache web server it works with. Now the GSI is left running as a separate process in the background and the user will have to exit it through its close button which will ensure that the apache webserver is shut down.

File:
1 edited

Legend:

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

    r19158 r19427  
    101101
    102102    javapath="`search4j -m $java_min_version -e`"
    103     "$javapath" org.greenstone.server.Server2 "$GSDLHOME" "$serverlang" $*
     103    # Launch the Greenstone Server Interface application in the background
     104    # (hence &) so that the x-term prompt will return
     105    "$javapath" org.greenstone.server.Server2 "$GSDLHOME" "$serverlang" $* &
    104106
    105107    popd > /dev/null
Note: See TracChangeset for help on using the changeset viewer.