We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ce47ad commit 83b9339Copy full SHA for 83b9339
install/mqtt-install.sh
@@ -15,12 +15,10 @@ update_os
15
16
msg_info "Installing Mosquitto MQTT Broker"
17
source /etc/os-release
18
-curl -fsSL http://repo.mosquitto.org/debian/mosquitto-repo.gpg >/usr/share/keyrings/mosquitto-repo.gpg.key
19
-chmod go+r /usr/share/keyrings/mosquitto-repo.gpg.key
20
-echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/mosquitto-repo.gpg.key] http://repo.mosquitto.org/debian ${VERSION_CODENAME} main" >/etc/apt/sources.list.d/mosquitto.list
21
$STD apt-get update
22
$STD apt-get -y install mosquitto
23
$STD apt-get -y install mosquitto-clients
+
24
cat <<EOF >/etc/mosquitto/conf.d/default.conf
25
allow_anonymous false
26
persistence true
0 commit comments