diff options
| author | yalh76 <yalh@yahoo.com> | 2022-09-08 21:15:27 +0200 |
|---|---|---|
| committer | yalh76 <yalh@yahoo.com> | 2022-09-08 21:15:27 +0200 |
| commit | be81679fa10a17166b69e88f643a1b955516df6c (patch) | |
| tree | aa1a08d58edfb408525cf2e70fcf20e41c9ff5fa /scripts | |
| parent | aa754b2fb62a6fd5254e07efbca67263ceb7dcf7 (diff) | |
| download | mastodon_ynh-be81679fa10a17166b69e88f643a1b955516df6c.tar.gz mastodon_ynh-be81679fa10a17166b69e88f643a1b955516df6c.tar.bz2 mastodon_ynh-be81679fa10a17166b69e88f643a1b955516df6c.zip | |
Update restore
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/restore | 14 |
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..." |
