File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ function update_script() {
2727 msg_error " No ${APP} Installation Found!"
2828 exit
2929 fi
30+
3031 msg_info " Updating ${APP} "
3132 $STD apt-get update
3233 $STD apt-get -y upgrade
@@ -41,4 +42,4 @@ description
4142msg_ok " Completed Successfully!\n"
4243echo -e " ${CREATING}${GN}${APP} setup has been successfully initialized!${CL} "
4344echo -e " ${INFO}${YW} Access it using the following URL:${CL} "
44- echo -e " ${TAB}${GATEWAY}${BGN} http://${IP} :3000${CL} "
45+ echo -e " ${TAB}${GATEWAY}${BGN} http://${IP} :3000${CL} "
Original file line number Diff line number Diff line change @@ -14,20 +14,20 @@ network_check
1414update_os
1515
1616msg_info " Installing Dependencies"
17- $STD apt-get install -y apt-transport-https
18- $STD apt-get install -y software-properties-common
17+ $STD apt-get install -y \
18+ apt-transport-https \
19+ software-properties-common
1920msg_ok " Installed Dependencies"
2021
2122msg_info " Setting up Grafana Repository"
2223curl -fsSL " https://apt.grafana.com/gpg.key" -o " /usr/share/keyrings/grafana.key"
23- sh -c ' echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" > /etc/apt/sources.list.d/grafana.list'
24+ echo " deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" > /etc/apt/sources.list.d/grafana.list
2425msg_ok " Set up Grafana Repository"
2526
2627msg_info " Installing Grafana"
2728$STD apt-get update
2829$STD apt-get install -y grafana
29- systemctl start grafana-server
30- systemctl enable --now -q grafana-server.service
30+ systemctl enable -q --now grafana-server
3131msg_ok " Installed Grafana"
3232
3333motd_ssh
You can’t perform that action at this time.
0 commit comments