mirror of
https://github.com/YunoHost-Apps/grafana_ynh.git
synced 2024-09-03 20:36:29 +02:00
[fix] Error on grafana.ini
This commit is contained in:
parent
e6b502ef76
commit
00cd8d427f
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ sudo cp ../conf/ldap.toml /etc/grafana
|
||||||
|
|
||||||
grafana_conf="/etc/grafana/grafana.ini"
|
grafana_conf="/etc/grafana/grafana.ini"
|
||||||
# Set final URL
|
# Set final URL
|
||||||
sudo sed -i '/^\[server\]$/,/^\[/ s/;http_port = .*/root_url = 5000/' $grafana_conf
|
sudo sed -i '/^\[server\]$/,/^\[/ s/;http_port = .*/http_port = 5000/' $grafana_conf
|
||||||
# Set final URL
|
# Set final URL
|
||||||
sudo sed -i "/^\[server\]$/,/^\[/ s@;root_url = .*@root_url = https://$domain$path@" $grafana_conf
|
sudo sed -i "/^\[server\]$/,/^\[/ s@;root_url = .*@root_url = https://$domain$path@" $grafana_conf
|
||||||
# Disable check for updates
|
# Disable check for updates
|
||||||
|
|
Loading…
Add table
Reference in a new issue