Update emqx-install.sh

add systemctl enable --now emqx
This commit is contained in:
tteckster 2022-10-29 10:47:31 -04:00 committed by GitHub
parent 56228b67ee
commit 32cbe55b37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ msg_ok "Installed Dependencies"
msg_info "Installing EMQX" msg_info "Installing EMQX"
curl -s https://packagecloud.io/install/repositories/emqx/emqx/script.deb.sh | bash &>/dev/null curl -s https://packagecloud.io/install/repositories/emqx/emqx/script.deb.sh | bash &>/dev/null
sudo apt-get install -y emqx >/dev/null sudo apt-get install -y emqx >/dev/null
systemctl start emqx systemctl enable --now emqx
msg_ok "Installed EMQX" msg_ok "Installed EMQX"
PASS=$(grep -w "root" /etc/shadow | cut -b6); PASS=$(grep -w "root" /etc/shadow | cut -b6);