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

Fix bullseye

This commit is contained in:
yalh76 2022-02-06 19:08:44 +01:00
parent 8fdf9516ba
commit 2cc0674e2d
4 changed files with 5 additions and 0 deletions

View file

@ -126,6 +126,7 @@ fi
#=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=2
systemctl daemon-reload
ynh_systemd_action --service_name=grafana-server --action="start" --log_path="/var/log/grafana/grafana.log" --line_match="HTTP Server Listen" --timeout=600
#=================================================

View file

@ -173,6 +173,7 @@ sed -i "/^\[database\]$/,/^\[/ {
ynh_store_file_checksum --file="$grafana_conf"
# Start Grafana and wait for it to be fully started
systemctl daemon-reload
ynh_systemd_action --service_name=grafana-server --action="restart" --log_path="/var/log/grafana/grafana.log" --line_match="HTTP Server Listen" --timeout=600
# Change admin name to the specified one
@ -215,6 +216,7 @@ yunohost service add grafana-server --description="open source analytics and mon
#=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=2
systemctl daemon-reload
ynh_systemd_action --service_name=grafana-server --action="restart" --log_path="/var/log/grafana/grafana.log" --line_match="HTTP Server Listen" --timeout=600
#=================================================

View file

@ -110,6 +110,7 @@ ynh_script_progression --message="Starting a systemd service..." --weight=1
systemctl enable influxdb.service --quiet
systemctl enable grafana-server.service --quiet
systemctl daemon-reload
ynh_systemd_action --service_name=influxdb --action="start"
ynh_systemd_action --service_name=grafana-server --action="start" --log_path="/var/log/grafana/grafana.log" --line_match="HTTP Server Listen" --timeout=600

View file

@ -170,6 +170,7 @@ yunohost service add grafana-server --description="open source analytics and mon
#=================================================
ynh_script_progression --message="Restarting a systemd service..." --weight=2
systemctl daemon-reload
ynh_systemd_action --service_name=grafana-server --action="restart" --log_path="/var/log/grafana/grafana.log" --line_match="HTTP Server Listen" --timeout=600
#=================================================