Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mosquitto-dev] Snap package available for testing

Dear all,

A snap package version of mosquitto is available for testing. If you
aren't familiar with snaps, they are an "all requirements in one"
package format with security confinement, driven by Canonical and
available on a reasonable range of different Linux distributions.

To get going, assuming you have the snap feature available:

snap install --candidate mosquitto

This will start the broker running as a service with a default
configuration. To set your own configuration, use the file
$SNAP_COMMON/mosquitto.conf, which would typically be at
/var/snap/mosquitto/common/mosquitto.conf. There is one caveat that
because of the way the snaps are currently confined, it is not
possible to change users of a process, so you must include `user root`
in your configuration.

You can also run the broker as a normal user with "snap run
mosquitto", in which case the configuration file in use will be
$SNAP_USER_COMMON/mosquitto.conf, or

The mosquitto_sub and mosquitto_pub clients are currently available in
the snap as mosquitto.sub and, I'm hoping to get that

I would appreciate any feedback if you give it a try.



Back to the top