
To install Greenstone3 as a service, run:

    ./SUDO-INSTALL-SERVICE.sh [service-user] service-name


The service-user parameter is optional. It defaults to:
    www-data

Greenstone3 is typically installed as the service name:
    greenstone3
    
Change the service name if you want to have more than one greenstone service running
(e.g. greenstone3-foo, greenstone3-bar)

This script checks a few things first, and if all is well, goes ahead and
creates the <service-name>.service file (in this folder), and then installs
it into /etc/systemd/system

It finishes by printing out some extra details, such as how to use the
service with 'systemctl', including how to add it in to the boot-up
sequence.


To see what services are currently installed and enabled:
  sudo systemctl list-unit-files --type=service --state=enabled

