2021-08-19 20:41:48 +02:00
|
|
|
# Controlling and querying lbcd via lbcctl
|
2019-09-09 17:24:56 +02:00
|
|
|
|
2021-08-19 20:41:48 +02:00
|
|
|
lbcctl is a command line utility that can be used to both control and query lbcd
|
|
|
|
via [RPC](http://www.wikipedia.org/wiki/Remote_procedure_call). lbcd does
|
2019-09-09 17:24:56 +02:00
|
|
|
**not** enable its RPC server by default; You must configure at minimum both an
|
|
|
|
RPC username and password or both an RPC limited username and password:
|
|
|
|
|
2021-08-19 20:41:48 +02:00
|
|
|
* lbcd.conf configuration file
|
2019-09-09 17:24:56 +02:00
|
|
|
|
|
|
|
```bash
|
|
|
|
[Application Options]
|
|
|
|
rpcuser=myuser
|
|
|
|
rpcpass=SomeDecentp4ssw0rd
|
|
|
|
rpclimituser=mylimituser
|
|
|
|
rpclimitpass=Limitedp4ssw0rd
|
|
|
|
```
|
|
|
|
|
2021-08-19 20:41:48 +02:00
|
|
|
* lbcctl.conf configuration file
|
2019-09-09 17:24:56 +02:00
|
|
|
|
|
|
|
```bash
|
|
|
|
[Application Options]
|
|
|
|
rpcuser=myuser
|
|
|
|
rpcpass=SomeDecentp4ssw0rd
|
|
|
|
```
|
|
|
|
|
|
|
|
OR
|
|
|
|
|
|
|
|
```bash
|
|
|
|
[Application Options]
|
|
|
|
rpclimituser=mylimituser
|
|
|
|
rpclimitpass=Limitedp4ssw0rd
|
|
|
|
```
|
|
|
|
|
2021-08-19 20:41:48 +02:00
|
|
|
For a list of available options, run: `$ lbcctl --help`
|