Mosquitto: Difference between revisions
imported>Joee m anchor identifier under `services` |
imported>N00b0ss big P is for password ... small p is for port |
||
| Line 60: | Line 60: | ||
<syntaxHighlight lang="bash"> | <syntaxHighlight lang="bash"> | ||
nix shell nixpkgs#mosquitto --command mosquitto_sub -h localhost -t test -u root - | nix shell nixpkgs#mosquitto --command mosquitto_sub -h localhost -t test -u root -P mypasswd | ||
</syntaxHighlight> | </syntaxHighlight> | ||
| Line 66: | Line 66: | ||
<syntaxHighlight lang="bash"> | <syntaxHighlight lang="bash"> | ||
nix shell nixpkgs#mosquitto --command mosquitto_pub -h localhost -t test -m "Hello" -u root - | nix shell nixpkgs#mosquitto --command mosquitto_pub -h localhost -t test -m "Hello" -u root -P mypasswd | ||
</syntaxHighlight> | </syntaxHighlight> | ||
[[Category:Applications]] | [[Category:Applications]] | ||