Skip to content

Commit

Permalink
Add details on starting/stopping the broker from the snap
Browse files Browse the repository at this point in the history
Closes #3197. Thanks to Van Phat Phan.
  • Loading branch information
ralight committed Jan 20, 2025
1 parent 015fe3d commit 7b14be8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions www/pages/documentation/using-the-snap.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,20 @@ and keys, must also be placed in `/var/snap/mosquitto/common/` - in new folders
if wanted. This directory is the only place accessible by Mosquitto when
running as a snap.

Starting and stopping the broker service can be done with the snap command:

```
snap start mosquitto
snap stop mosquitto
```

Or via systemd:

```
systemctl start snap.mosquitto.mosquitto
systemctl stop snap.mosquitto.mosquitto
```

All other aspects of running Mosquitto are the same as with any other
installation methods.

Expand Down

0 comments on commit 7b14be8

Please sign in to comment.