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