readme update
This commit is contained in:
parent
e3570a590e
commit
d715c1b612
18
README.md
18
README.md
|
@ -31,6 +31,7 @@ Current status: *development*, *testing*
|
|||
- [Example](#example)
|
||||
- [GET /metrics](#get-metrics)
|
||||
- [Example](#example)
|
||||
- [Systemd](#systemd)
|
||||
- [AUTHORS](#authors)
|
||||
- [LICENSE](#license)
|
||||
|
||||
|
@ -247,6 +248,23 @@ Return some metrics
|
|||
}
|
||||
```
|
||||
|
||||
## Systemd
|
||||
|
||||
Example unit
|
||||
```ini
|
||||
[Unit]
|
||||
Description=RBMD
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/rbmd -listen 0.0.0.0:9076 -ws 0.0.0.0:7690 -zk node1:2181,node2:2181,node3:2181
|
||||
KillMode=control-group
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
```
|
||||
|
||||
# AUTHORS
|
||||
|
||||
Denis Zheleztsov <difrex.punk@gmail.com>
|
||||
|
|
Loading…
Reference in New Issue
Block a user