From 32cbe55b374c5bdf8bf1f48cd4d588dc7181a72d Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 29 Oct 2022 10:47:31 -0400 Subject: [PATCH] Update emqx-install.sh add systemctl enable --now emqx --- setup/emqx-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/emqx-install.sh b/setup/emqx-install.sh index 543648a8..601fd5d2 100644 --- a/setup/emqx-install.sh +++ b/setup/emqx-install.sh @@ -79,7 +79,7 @@ msg_ok "Installed Dependencies" msg_info "Installing EMQX" curl -s https://packagecloud.io/install/repositories/emqx/emqx/script.deb.sh | bash &>/dev/null sudo apt-get install -y emqx >/dev/null -systemctl start emqx +systemctl enable --now emqx msg_ok "Installed EMQX" PASS=$(grep -w "root" /etc/shadow | cut -b6);