Changeset 34322

Show
Ignore:
Timestamp:
02.09.2020 17:57:00 (4 weeks ago)
Author:
davidb
Message:

Changes after testing

Location:
main/trunk/greenstone3/service.d
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/service.d/INSTALL-SERVICE.sh

    r34321 r34322  
    77    fi 
    88     
    9     if [ ! -f greenstone3-service.sh ] ; then 
    10     echo "Generating greenstone3.service. from greenstone3.service.in" 
     9    #    if [ ! -f greenstone3-service.sh ] ; then 
     10        echo "****" 
     11    echo "* Generating greenstone3.service from greenstone3.service.in" 
     12    echo "****" 
    1113    cat greenstone3.service.in | sed "s%@GSDL3SRCHOME@%$GSDL3SRCHOME%g" > greenstone3.service 
    12     fi 
     14#    fi 
     15 
     16    echo "****" 
     17    echo "* Copying greenstone3.service to /etc/systemd/system/" 
     18    echo "****" 
     19    sudo /bin/cp greenstone3.service /etc/systemd/system/. 
     20 
     21    echo "----" 
     22    echo "In the event of the service being updated, you will most likely need to run:" 
     23    echo "  sudo systemctl daemon-reload" 
     24    echo "----" 
    1325     
    14     echo "Copying greenstone3.service to /etc/systemd/system/" 
    15     sudo /bin/cp greenstone3.service /etc/systemd/system/. 
    1626else 
    1727    echo "Error: Failed to find '/etc/systemd/system'" >&2 
  • main/trunk/greenstone3/service.d/greenstone3-start.sh

    r34321 r34322  
     1#!/bin/bash 
    12 
    2 cd .. && source ./gs3-setup.sh && ant start 
     3cd .. && . ./gs3-setup.sh && ant start 
    34 
  • main/trunk/greenstone3/service.d/greenstone3-stop.sh

    r34321 r34322  
     1#!/bin/bash 
    12 
    2 cd .. && source ./gs3-setup.sh && ant start 
     3cd .. && . ./gs3-setup.sh && ant stop 
    34 
     5 
  • main/trunk/greenstone3/service.d/greenstone3.service.in

    r34321 r34322  
    33# 
    44[Unit] 
    5 Description=Solr v8 Nodes 
     5Description=Greenstone3 Digital Library Server 
    66After=network.target 
    77