Changeset 38623 for gs3-extensions


Ignore:
Timestamp:
2024-01-23T13:35:28+13:00 (4 months ago)
Author:
davidb
Message:

Added running GS3 into the script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/selfcontained-gcloud/trunk/spin-up-gce-vm/get-and-run-gs3-playbooks.sh.in

    r38611 r38623  
    4343    && ./01-RUN-ANSIBLE-BASE-INSTALL.sh @GSVM_USER@ \
    4444    && ./02-RUN-ANSIBLE-REVPROXY.sh @GSVM_USER@
     45
     46if [ $? = 0 ] ; then
     47    # An improvement would be to determine gsdl3srchome from vars/default-core.yml
     48    # and use that.
     49    cd ..
     50    cd greenstone3-svn
     51    ./ant-start-with-exts.sh
     52
     53    if [ $? = 0 ] ; then
     54    echo ""
     55    echo "===="
     56    echo "= https://$GSVM_FQDN/greenstone3/library"
     57    echo "===="
     58    echo ""
     59    else
     60    echo "" >&2
     61    echo "!!!!" >&2
     62    echo "! An error occurred in starting the Greenstone3 DL server" >&2
     63    echo "!!!!" >&2
     64    echo "" >&2
     65    fi
     66   
     67else
     68    echo "" >&2
     69    echo "!!!!" >&2
     70    echo "! An error occurred in running the ansible playbooks" >&2
     71    echo "! The Greenstone3 Tomcat server has *not* been started" >&2
     72    echo "!!!!" >&2
     73    echo "" >&2
     74fi
     75   
Note: See TracChangeset for help on using the changeset viewer.