From c0b8f662492bfc159f1706442fd8fddbc97e184b Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 8 Mar 2019 00:33:05 +0100 Subject: [PATCH] Apply last example_ynh --- scripts/restore | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/scripts/restore b/scripts/restore index 2fb865b..c0b5280 100644 --- a/scripts/restore +++ b/scripts/restore @@ -76,12 +76,6 @@ chown -R "$app":"$app" "$final_path" mkdir -p /var/log/$app chown -R $app:$app /var/log/$app -#================================================= -# RESTORE THE PHP-FPM CONFIGURATION -#================================================= - -#ynh_restore_file "/etc/php/7.0/fpm/pool.d/$app.conf" - #================================================= # SPECIFIC RESTORATION #================================================= @@ -93,15 +87,6 @@ ynh_print_info "Reinstalling dependencies..." ynh_install_app_dependencies ca-certificates ynh_install_nodejs 8 -#================================================= -# RESTORE THE MYSQL DATABASE -#================================================= -ynh_print_info "Restoring the PostgreSQL database..." - -#db_pwd=$(ynh_app_setting_get $app mysqlpwd) -#ynh_mysql_setup_db $db_name $db_name $db_pwd -#ynh_mysql_connect_as $db_name $db_pwd $db_name < ./db.sql - #================================================= # RESTORE SYSTEMD #=================================================