Ignore:
Timestamp:
2022-08-02T11:41:43+12:00 (21 months ago)
Author:
davidb
Message:

updated notes, plus added second servicename parameter to INSTALL_SERVICE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/service.d/README.txt

    r34672 r36354  
    11
    2 To install Greenstone3 as a service, operating as the user www-data, run:
     2To install Greenstone3 as a service, run:
    33
    4 ./INSTALL-SERVICE.sh
     4sudo ./INSTALL-SERVICE.sh [user] [service-name]
     5
     6The two parameters are optional. The defaults are
     7 - user : www-data
     8 - service name : greenstone3
     9
     10Change the service name eg if you want to have more than one greenstone service running
     11(eg greenstone3-foo, greenstone3-bar)
    512
    613This script checks a few things first, and if all is well, goes ahead and
    7 creates the greenstone3.service file (in this folder), and then installs
    8 it.
     14creates the <service-name>.service file (in this folder), and then installs
     15it into /etc/systemd/system
    916
    1017It finishes by printing out some extra details, such as how to use the
Note: See TracChangeset for help on using the changeset viewer.