mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
use correct helper for all restore
This commit is contained in:
parent
f9978a2d78
commit
be5a4cba21
1 changed files with 2 additions and 2 deletions
|
@ -29,8 +29,8 @@ sudo chown -R www-data: $final_path/data/
|
||||||
sudo chown -R www-data: $final_path/extensions/
|
sudo chown -R www-data: $final_path/extensions/
|
||||||
|
|
||||||
# Restore conf files
|
# Restore conf files
|
||||||
ynh_backup nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf
|
ynh_restore_file "/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||||
ynh_backup $app.cron /etc/cron.d/$app
|
ynh_restore_file "/etc/cron.d/$app.cron"
|
||||||
|
|
||||||
# Restore mysql dump
|
# Restore mysql dump
|
||||||
ynh_mysql_create_db "$db_name" "$db_user" "$db_pass"
|
ynh_mysql_create_db "$db_name" "$db_user" "$db_pass"
|
||||||
|
|
Loading…
Add table
Reference in a new issue