readme update

This commit is contained in:
Denis Zheleztsov 2017-01-20 16:19:16 +03:00
parent e3570a590e
commit d715c1b612

View File

@ -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>