From 4164d42b7c18f14b0dc5a46d34d0912dbb7346d1 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 11 Feb 2024 13:36:28 -0500 Subject: [PATCH] Update hivemq-install.sh tcp and websockets --- install/hivemq-install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/hivemq-install.sh b/install/hivemq-install.sh index 46ca5aa0..8e66f3b2 100644 --- a/install/hivemq-install.sh +++ b/install/hivemq-install.sh @@ -37,6 +37,8 @@ useradd -d /opt/hivemq hivemq chown -R hivemq:hivemq /opt/hivemq chmod +x /opt/hivemq/bin/run.sh 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 msg_ok "Installed HiveMQ CE"