source: main/trunk/greenstone3/service.d/README.txt@ 36354

Last change on this file since 36354 was 36354, checked in by davidb, 21 months ago

updated notes, plus added second servicename parameter to INSTALL_SERVICE

File size: 649 bytes
Line 
1
2To install Greenstone3 as a service, run:
3
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)
12
13This script checks a few things first, and if all is well, goes ahead and
14creates the <service-name>.service file (in this folder), and then installs
15it into /etc/systemd/system
16
17It finishes by printing out some extra details, such as how to use the
18service with 'systemctl', including how to add it in to the boot-up
19sequence.
20
Note: See TracBrowser for help on using the repository browser.