Remember myself I use pass.

This commit is contained in:
Julien Palard 2023-04-07 22:24:49 +02:00
parent 31d56acd65
commit 661f83e38f
Signed by: mdk
GPG Key ID: 0EFC1AC1006886F8
1 changed files with 2 additions and 2 deletions

View File

@ -23,10 +23,10 @@ $ export XMPP_PASSWORD=the_bot_password
$ http-to-xmpp
```
or via arguments, but beware of `ps` showing your password!
or via arguments:
```bash
$ http-to-xmpp --xmpp-jid the_bot_account@the_server.org --xmpp-password the_bot_password --xmpp-dest-jid the_human_receiving_messages@the_server.org
$ http-to-xmpp --xmpp-jid bot_account@the_server.org --xmpp-password "$(pass bot_account@the_server.org)" --xmpp-dest-jid human_account@the_server.org
```
HTTP host and port to listen to can be changed using `--http-host` and `--http-port`, they default to `localhost:1985`.