1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/commento_ynh.git synced 2024-09-03 18:16:16 +02:00

Update restore

This commit is contained in:
Éric Gaspar 2023-03-02 12:28:13 +01:00
parent c9d85da1ff
commit 6f1f035b1e

View file

@ -24,10 +24,9 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
#================================================= #=================================================
ynh_script_progression --message="Restoring the app main directory..." --weight=3 ynh_script_progression --message="Restoring the app main directory..." --weight=3
ynh_restore_file --origin_path="$data_dir" --not_mandatory ynh_restore_file --origin_path="$install_dir"
# (Same as for install dir) chown -R $app:www-data "$install_dir"
chown -R $app:www-data "$data_dir"
#================================================= #=================================================
# RESTORE THE MYSQL DATABASE # RESTORE THE MYSQL DATABASE