aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2022-09-08 21:15:27 +0200
committeryalh76 <yalh@yahoo.com>2022-09-08 21:15:27 +0200
commitbe81679fa10a17166b69e88f643a1b955516df6c (patch)
treeaa1a08d58edfb408525cf2e70fcf20e41c9ff5fa
parentaa754b2fb62a6fd5254e07efbca67263ceb7dcf7 (diff)
downloadmastodon_ynh-be81679fa10a17166b69e88f643a1b955516df6c.tar.gz
mastodon_ynh-be81679fa10a17166b69e88f643a1b955516df6c.tar.bz2
mastodon_ynh-be81679fa10a17166b69e88f643a1b955516df6c.zip
Update restore
-rw-r--r--scripts/restore14
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/restore b/scripts/restore
index c71b839..92708c3 100644
--- a/scripts/restore
+++ b/scripts/restore
@@ -46,13 +46,6 @@ test ! -d $final_path \
#=================================================
# STANDARD RESTORATION STEPS
#=================================================
-# RESTORE THE NGINX CONFIGURATION
-#=================================================
-ynh_script_progression --message="Restoring the NGINX web server configuration..."
-
-ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
-
-#=================================================
# RECREATE THE DEDICATED USER
#=================================================
ynh_script_progression --message="Recreating the dedicated system user..."
@@ -85,6 +78,13 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
ynh_exec_warn_less ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ stable main" --package="yarn" --key="https://dl.yarnpkg.com/debian/pubkey.gpg"
#=================================================
+# RESTORE THE NGINX CONFIGURATION
+#=================================================
+ynh_script_progression --message="Restoring the NGINX web server configuration..."
+
+ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
+
+#=================================================
# RESTORE THE POSTGRESQL DATABASE
#=================================================
ynh_script_progression --message="Restoring the PostgreSQL database..."