Explorar o código

Update grafana-install.sh

enable/start grafana
tteckster %!s(int64=2) %!d(string=hai) anos
pai
achega
7daa751c3c
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      install/grafana-install.sh

+ 2 - 0
install/grafana-install.sh

@@ -30,6 +30,8 @@ msg_ok "Set up Grafana Repository"
 msg_info "Installing Grafana"
 $STD apt-get update
 $STD apt-get install -y grafana
+systemctl start grafana-server
+systemctl enable --now -q grafana-server.service
 msg_ok "Installed Grafana"
 
 motd_ssh