Update hivemq-install.sh
tcp and websockets
This commit is contained in:
parent
e638845ffa
commit
4164d42b7c
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue