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 |
|
---|
2 | To install Greenstone3 as a service, run:
|
---|
3 |
|
---|
4 | sudo ./INSTALL-SERVICE.sh [user] [service-name]
|
---|
5 |
|
---|
6 | The two parameters are optional. The defaults are
|
---|
7 | - user : www-data
|
---|
8 | - service name : greenstone3
|
---|
9 |
|
---|
10 | Change the service name eg if you want to have more than one greenstone service running
|
---|
11 | (eg greenstone3-foo, greenstone3-bar)
|
---|
12 |
|
---|
13 | This script checks a few things first, and if all is well, goes ahead and
|
---|
14 | creates the <service-name>.service file (in this folder), and then installs
|
---|
15 | it into /etc/systemd/system
|
---|
16 |
|
---|
17 | It finishes by printing out some extra details, such as how to use the
|
---|
18 | service with 'systemctl', including how to add it in to the boot-up
|
---|
19 | sequence.
|
---|
20 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.