Updated README.md
This commit is contained in:
parent
422353f640
commit
a75840ea82
10
README.md
10
README.md
@ -210,7 +210,7 @@ In application directory:
|
||||
python ./main.py
|
||||
```
|
||||
|
||||
##### System service (preferred option)<a id='StartService' />
|
||||
#### System service (preferred option)<a id='StartService' />
|
||||
Prepare the [dasExporter.service](dasExporter.service) file. Then launch commands:
|
||||
```shell
|
||||
sudo ln -s "$( cd -- $(dirname $0) >/dev/null 2>&1 ; pwd -P )/dasExporter.service" /etc/systemd/system/dasExporter.service
|
||||
@ -218,11 +218,11 @@ sudo systemctl daemon-reload
|
||||
sudo systemctl start dasExporter
|
||||
sudo systemctl enable dasExporter
|
||||
```
|
||||
To view service status use `sudo systemctl status dasExporter`
|
||||
To restart the service use `sudo systemctl restart dasExporter`
|
||||
To stop the service use `sudo systemctl stop dasExporter`
|
||||
* `sudo systemctl status dasExporter` - to view service status use
|
||||
* `sudo systemctl restart dasExporter` - to restart the service use
|
||||
* `sudo systemctl stop dasExporter` - to stop the service use
|
||||
|
||||
##### Docker application<a id='StartDocker' />
|
||||
#### Docker application<a id='StartDocker' />
|
||||
Use provided [docker-compose.yaml](docker-compose.yaml) and [Dockerfile](Dockerfile) files to launch Exporter in docker container.
|
||||
|
||||
**_Make sure you provided all mounts you need to be monitored in `volume` section in the `docker-compose.yaml` file and made according changes in [Disc Metrics Configuration](#DiscMetrics)._**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user