1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monitorix_ynh.git synced 2024-09-03 19:46:06 +02:00

Fix restore script

This commit is contained in:
Josué Tille 2017-08-16 14:46:25 +02:00
parent 19df233e6f
commit 93f70beac9

View file

@ -31,7 +31,11 @@ dbpass=$(ynh_app_setting_get "$app" mysqlpwd)
ynh_mysql_create_user $dbuser $dbpass
# Restore all config and data
ynh_secure_remove /etc/monitorix # we remove the directory because if it is not empty the ynh_restore cmd fail
ynh_restore
# Reload nginx
systemctl reload nginx.service
# Reload services
systemctl restart monitorix.service