From 8d096f469dc27093ccb2033d427133e24b3bbf1a Mon Sep 17 00:00:00 2001 From: sh <37271604+shumvgolove@users.noreply.github.com> Date: Tue, 29 Nov 2022 12:17:26 +0300 Subject: [PATCH] docs: corrections (#1456) * docs: corrections Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com> * docs: onion instead of hostname2 Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com> --- docs/SERVER.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/SERVER.md b/docs/SERVER.md index 9a4bd7b995..5476904d80 100644 --- a/docs/SERVER.md +++ b/docs/SERVER.md @@ -190,24 +190,24 @@ Stored messages, connections, statistics and server log are located in `/var/opt SMP server address has the following format: ``` -smp://[:]@hostname1,hostname2 +smp://[:]@[,] ``` - `` Your `smp-server` fingerprint of certificate. You can check your certificate fingerprint in `/etc/opt/simplex/fingerprint`. -- `` +- **optional** `` Your configured password of `smp-server`. You can check your configured pasword in `/etc/opt/simplex/smp-server.ini`, under `[AUTH]` section in `create_password:` field. -- `@hostname1,hostname2` +- ``, **optional** `` Your configured hostname(s) of `smp-server`. You can check your configured hosts in `/etc/opt/simplex/smp-server.ini`, under `[TRANSPORT]` section in `host:` field. ### Systemd commands -To enable `smp-server` on server boot, run: +To start `smp-server` on host boot, run: ```sh sudo systemctl enable smp-server.service @@ -286,11 +286,11 @@ fromTime,qCreated,qSecured,qDeleted,msgSent,msgRecv,dayMsgQueues,weekMsgQueues,m - `msgRecv` - int; received messages -- `dayMsgQueues` - int; created queues in a day +- `dayMsgQueues` - int; active queues in a day -- `weekMsgQueues` - int; created queues in a week +- `weekMsgQueues` - int; active queues in a week -- `monthMsgQueues` - int; created queues in a month +- `monthMsgQueues` - int; active queues in a month To import `csv` to `Grafana` one should: