Last change
on this file since 36315 was 36315, checked in by davidb, 22 months ago |
Utility scripts for starting and stopping the Express-based web server that will ultimately provideBib-Stinky functionality; imprinted of files developed for the Hey You Interact with Me project
|
File size:
687 bytes
|
Line | |
---|
1 |
|
---|
2 | To install Bib-Stinky as a service, operating as the user 'www-data', run:
|
---|
3 |
|
---|
4 | ./INSTALL-SERVICE.sh
|
---|
5 |
|
---|
6 | The 'www-data' is a common choice, as it matches that used by many
|
---|
7 | Linux systems for the user used to run the system-installed Apache2
|
---|
8 | web server.
|
---|
9 |
|
---|
10 | If you want to install the service to run as a different user, then run
|
---|
11 |
|
---|
12 | ./INSTALL-SERVICE.sh <username>
|
---|
13 |
|
---|
14 |
|
---|
15 | The INSTALL-SERViCE script checks a few things first, and if all is
|
---|
16 | well, goes ahead and creates the 'bibstinky.service' file (in this folder),
|
---|
17 | and then installs it.
|
---|
18 |
|
---|
19 | The script finishes by printing out some extra details, such as how to
|
---|
20 | use the service with 'systemctl', including how to add it in to the
|
---|
21 | boot-up sequence.
|
---|
22 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.