Update hivemq-install.sh

tcp and websockets
This commit is contained in:
tteckster 2024-02-11 13:36:28 -05:00 committed by GitHub
parent e638845ffa
commit 4164d42b7c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,6 +37,8 @@ useradd -d /opt/hivemq hivemq
chown -R hivemq:hivemq /opt/hivemq chown -R hivemq:hivemq /opt/hivemq
chmod +x /opt/hivemq/bin/run.sh chmod +x /opt/hivemq/bin/run.sh
cp /opt/hivemq/bin/init-script/hivemq.service /etc/systemd/system/hivemq.service cp /opt/hivemq/bin/init-script/hivemq.service /etc/systemd/system/hivemq.service
rm /opt/hivemq/conf/config.xml
mv /opt/hivemq/conf/examples/configuration/config-sample-tcp-and-websockets.xml /opt/hivemq/conf/config.xml
systemctl enable -q --now hivemq systemctl enable -q --now hivemq
msg_ok "Installed HiveMQ CE" msg_ok "Installed HiveMQ CE"