Changeset 19427

Show
Ignore:
Timestamp:
13.05.2009 13:27:44 (10 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.

Files:
1 modified

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