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:
parent
c9d85da1ff
commit
6f1f035b1e
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue