Changeset 34324


Ignore:
Timestamp:
09/03/20 10:49:19 (8 months ago)
Author:
davidb
Message:

Updated to include info about making this a boot-up service

File:
1 edited

Legend:

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

    r34322 r34324  
    66    cd .. && source ./gs3-setup.sh && cd service.d
    77    fi
     8
     9    echo ""
    810   
    9     #    if [ ! -f greenstone3-service.sh ] ; then
    10         echo "****"
    11     echo "* Generating greenstone3.service from greenstone3.service.in"
    12     echo "****"
    13     cat greenstone3.service.in | sed "s%@GSDL3SRCHOME@%$GSDL3SRCHOME%g" > greenstone3.service
    14 #    fi
    15 
     11    echo "****"
     12    echo "* Generating greenstone3.service from greenstone3.service.in"
     13    echo "****"
     14    cat greenstone3.service.in | sed "s%@GSDL3SRCHOME@%$GSDL3SRCHOME%g" > greenstone3.service
     15     
    1616    echo "****"
    1717    echo "* Copying greenstone3.service to /etc/systemd/system/"
     
    1919    sudo /bin/cp greenstone3.service /etc/systemd/system/.
    2020
     21    echo ""
    2122    echo "----"
    22     echo "In the event of the service being updated, you will most likely need to run:"
    23     echo "  sudo systemctl daemon-reload"
     23    echo "General info:"
     24    echo "  In the event of the service being updated, you will most likely need to run:"
     25    echo "    sudo systemctl daemon-reload"
     26    echo ""
     27    echo "  To enable this service to be run at boot-up time, run:"
     28    echo "    sudo systemctl enable greenstone3"
    2429    echo "----"
    2530   
Note: See TracChangeset for help on using the changeset viewer.