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

Fix install when grafana had been previously installed

This commit is contained in:
Jimmy Monin 2017-08-03 10:52:47 +02:00
parent 0efe448bdc
commit 17b2dae582

View file

@ -108,7 +108,7 @@ sudo sed -i "/^\[database\]$/,/^\[/ {
s/;type = .*/type = mysql/
s/;name = .*/name = $dbname/
s/;user = .*/user = $dbuser/
s/;password =.*/password = $dbpass/
s/;\?password =.*/password = $dbpass/
}" $grafana_conf
# Restart grafana server