From 3b95413fa0fbef84ea82ff23f8a060e54e75c391 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 31 Mar 2019 21:33:18 +0200 Subject: [PATCH] move php+fpm restoration after php installation --- scripts/restore | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/restore b/scripts/restore index 38b43353..549039d4 100644 --- a/scripts/restore +++ b/scripts/restore @@ -70,12 +70,6 @@ ynh_system_user_create "$app" # Restore permissions on app files chown -R "$app": "$final_path" -#================================================= -# RESTORE THE PHP-FPM CONFIGURATION -#================================================= - -ynh_restore_file "/etc/php/7.2/fpm/pool.d/$app.conf" - #================================================= # SPECIFIC RESTORATION #================================================= @@ -97,6 +91,12 @@ ynh_psql_test_if_first_run ynh_psql_create_db "$db_name" "$db_name" "$db_pwd" ynh_psql_execute_file_as_root ./db.sql "$db_name" +#================================================= +# RESTORE THE PHP-FPM CONFIGURATION +#================================================= + +ynh_restore_file "/etc/php/7.2/fpm/pool.d/$app.conf" + #================================================= # GENERIC FINALIZATION #=================================================