Browse Source

Update grafana-install.sh

tteckster 3 năm trước cách đây
mục cha
commit
b245d94300
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      setup/grafana-install.sh

+ 2 - 1
setup/grafana-install.sh

@@ -89,7 +89,8 @@ systemctl daemon-reload
 systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
 echo -e "${CM}${CL} \r"
   fi
-
+systemctl start grafana-server
+systemctl enable grafana-server.service &>/dev/null
 echo -en "${GN} Cleanup... "
 apt-get autoremove >/dev/null
 apt-get autoclean >/dev/null