From 43707c4b1c526ba988f0ca65fdaa082a834a6667 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 5 Feb 2024 19:12:19 +0100 Subject: [PATCH] debug restore --- scripts/restore | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/restore b/scripts/restore index cf6b734..31bb06e 100755 --- a/scripts/restore +++ b/scripts/restore @@ -15,6 +15,8 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression --message="Restoring the app main directory..." --weight=2 +# Remove the version installed by the deb package +ynh_secure_remove "$install_dir" ynh_restore_file --origin_path="$install_dir" chmod -R o-rwx "$install_dir" @@ -67,6 +69,10 @@ fi ynh_systemd_action --service_name=nginx --action=reload + +ynh_exec_warn cat "$install_dir/config.xml" +ynh_exec_warn cat "/etc/nginx/conf.d/$domain.d/$app.conf" + #================================================= # END OF SCRIPT #=================================================