1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grafana_ynh.git synced 2024-09-03 20:36:29 +02:00

Merge pull request #40 from YunoHost-Apps/enh_update_8.3.3

This commit is contained in:
JimboJoe 2021-12-29 16:39:17 +01:00 committed by GitHub
commit 1e1a018b42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 5 deletions

View file

@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Metric & analytic dashboards for monitoring Metric & analytic dashboards for monitoring
**Shipped version:** 8.0.6~ynh1 **Shipped version:** 8.3.3~ynh1
**Demo:** https://play.grafana.org **Demo:** https://play.grafana.org

View file

@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Tableaux de bords de supervision Tableaux de bords de supervision
**Version incluse :** 8.0.6~ynh1 **Version incluse :** 8.3.3~ynh1
**Démo :** https://play.grafana.org **Démo :** https://play.grafana.org

View file

@ -6,7 +6,7 @@
"en": "Metric & analytic dashboards for monitoring", "en": "Metric & analytic dashboards for monitoring",
"fr": "Tableaux de bords de supervision" "fr": "Tableaux de bords de supervision"
}, },
"version": "8.0.6~ynh1", "version": "8.3.3~ynh1",
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",
"url": "https://grafana.com/oss/grafana/", "url": "https://grafana.com/oss/grafana/",
"upstream": { "upstream": {

View file

@ -5,7 +5,7 @@
#================================================= #=================================================
# Debian package version for Grafana # Debian package version for Grafana
GRAFANA_VERSION="7.5.5" GRAFANA_VERSION="8.3.3"
# dependencies used by the app # dependencies used by the app
pkg_dependencies="influxdb" pkg_dependencies="influxdb"

View file

@ -106,8 +106,12 @@ yunohost service add grafana-server --description="open source analytics and mon
#================================================= #=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=1 ynh_script_progression --message="Starting a systemd service..." --weight=1
# Enable the systemd service so that InfluxDB and Grafana start at boot
systemctl enable influxdb.service --quiet
systemctl enable grafana-server.service --quiet
ynh_systemd_action --service_name=influxdb --action="start" ynh_systemd_action --service_name=influxdb --action="start"
ynh_systemd_action --service_name=grafana-server --action="start" --log_path="/var/log/grafana/grafana.log" ynh_systemd_action --service_name=grafana-server --action="start" --log_path="/var/log/grafana/grafana.log" --line_match="HTTP Server Listen" --timeout=600
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION