README: clarify quick-start

fixes #16
This commit is contained in:
Leo Antunes 2020-01-12 19:55:25 +01:00
parent 563224d9db
commit f0f3267133
1 changed files with 4 additions and 3 deletions

View File

@ -33,11 +33,12 @@ security benefits from wireguard. See [security considerations](#security-consid
# ./wesher
```
Running the command above on a terminal will currently output a generated cluster key as follows:
This will start the wesher daemon in the foreground and - when running on a terminal - will currently output a generated cluster key as follows:
```
new cluster key generated: XXXXX
```
**Note**: the created key will only be shown if running on a terminal, to avoid keys leaking via logs.
**Note**: to avoid accidentally leaking it in the logs, the created key will _only_ be displayed if running on a terminal. When started via other means (e.g.: desktop session manager or init system), the key can be retreived with `grep ClusterKey /var/lib/wesher/state.json`.
3. Lastly, on any further node:
```