Browse Source

readme: adapt section on mqtt authentication

Fabian Peter Hammerle 2 months ago
parent
commit
6a617ffb2e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -118,9 +118,9 @@ Run `systemctl-mqtt --mqtt-disable-tls …` to disable TLS.
 ## MQTT Authentication
 
 ```sh
+systemctl-mqtt --mqtt-username me --mqtt-password-file /run/secrets/password …
+# or for testing (unsafe):
 systemctl-mqtt --mqtt-username me --mqtt-password secret …
-# or
-systemctl-mqtt --mqtt-username me --mqtt-password-file /var/lib/secrets/mqtt/password …
 ```
 
 ## Adapt Poweroff Delay