Explorar o código

Update emqx-install.sh

add systemctl enable --now emqx
tteckster %!s(int64=2) %!d(string=hai) anos
pai
achega
32cbe55b37
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      setup/emqx-install.sh

+ 1 - 1
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);