mirror of
https://github.com/tteck/Proxmox.git
synced 2026-10-05 10:22:58 +00:00
Update mqtt-install.sh
create `/etc/mosquitto/conf.d/default.conf`
This commit is contained in:
1 parent
7add9d891d
commit
f796767e06
1 file changed
+6
@@ -22,6 +22,12 @@ msg_ok "Installed Dependencies"
|
||||
msg_info "Installing Mosquitto MQTT Broker"
|
||||
$STD apt-get -y install mosquitto
|
||||
$STD apt-get -y install mosquitto-clients
|
||||
cat <<EOF >/etc/mosquitto/conf.d/default.conf
|
||||
allow_anonymous false
|
||||
persistence true
|
||||
password_file /etc/mosquitto/passwd
|
||||
listener 1883
|
||||
EOF
|
||||
msg_ok "Installed Mosquitto MQTT Broker"
|
||||
|
||||
motd_ssh
|
||||
|
||||
Reference in new issue
Block a user