Document --service-display-name flag for Windows service
This commit is contained in:
parent
7cfde0cf4d
commit
05cefe61bd
|
@ -48,12 +48,15 @@ Telegraf can manage its own service through the --service flag:
|
||||||
|
|
||||||
## Install multiple services
|
## Install multiple services
|
||||||
|
|
||||||
You can install multiple telegraf instances with --service-name flag:
|
Running multiple instances of Telegraf is seldom needed, as you can run
|
||||||
|
multiple instances of each plugin and route metric flow using the metric
|
||||||
|
filtering options. However, if you do need to run multiple telegraf instances
|
||||||
|
on a single system, you can install the service with the `--service-name` and
|
||||||
|
`--service-display-name` flags to give the services unique names:
|
||||||
|
|
||||||
```
|
```
|
||||||
> C:\"Program Files"\Telegraf\telegraf.exe --service install --service-name telegraf-1
|
> C:\"Program Files"\Telegraf\telegraf.exe --service install --service-name telegraf-1 --service-display-name "Telegraf 1"
|
||||||
> C:\"Program Files"\Telegraf\telegraf.exe --service install --service-name telegraf-2
|
> C:\"Program Files"\Telegraf\telegraf.exe --service install --service-name telegraf-2 --service-display-name "Telegraf 2"
|
||||||
> C:\"Program Files"\Telegraf\telegraf.exe --service uninstall --service-name telegraf-1
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
Loading…
Reference in New Issue