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:
parent
0efe448bdc
commit
17b2dae582
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ sudo sed -i "/^\[database\]$/,/^\[/ {
|
||||||
s/;type = .*/type = mysql/
|
s/;type = .*/type = mysql/
|
||||||
s/;name = .*/name = $dbname/
|
s/;name = .*/name = $dbname/
|
||||||
s/;user = .*/user = $dbuser/
|
s/;user = .*/user = $dbuser/
|
||||||
s/;password =.*/password = $dbpass/
|
s/;\?password =.*/password = $dbpass/
|
||||||
}" $grafana_conf
|
}" $grafana_conf
|
||||||
|
|
||||||
# Restart grafana server
|
# Restart grafana server
|
||||||
|
|
Loading…
Reference in a new issue