mirror of
https://github.com/YunoHost-Apps/grafana_ynh.git
synced 2024-09-03 20:36:29 +02:00
Fix restore on fresh install
This commit is contained in:
parent
8d0f8fbc9d
commit
2926153622
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
||||
# 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=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
|
||||
|
|
Loading…
Reference in a new issue