浏览代码

readme: adapt section on mqtt authentication

Fabian Peter Hammerle 2 月之前
父节点
当前提交
6a617ffb2e
共有 1 个文件被更改,包括 2 次插入2 次删除
  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