mirror of
https://github.com/YunoHost-Apps/grafana_ynh.git
synced 2024-09-03 20:36:29 +02:00
Fix restoration
This commit is contained in:
parent
49569cca58
commit
a73295d6de
1 changed files with 3 additions and 1 deletions
|
@ -80,7 +80,9 @@ ynh_restore_file --origin_path="/var/lib/grafana/plugins" --not_mandatory
|
|||
|
||||
# Set permission with the new grafana user (id could have been changed)
|
||||
chown -R root:grafana "/etc/grafana"
|
||||
chown -R grafana:grafana "/var/lib/grafana/plugins"
|
||||
if [ -d "/var/lib/grafana/plugins" ]; then
|
||||
chown -R grafana:grafana "/var/lib/grafana/plugins"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE INFLUXDB DATABASE
|
||||
|
|
Loading…
Reference in a new issue