From d85edaa965e871d56af4381d8ab8972eda5d7207 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 9 Nov 2020 16:04:43 +0100 Subject: [PATCH] Fix typo --- manifest.json | 2 +- scripts/backup | 2 +- scripts/install | 4 ++-- scripts/restore | 3 ++- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/manifest.json b/manifest.json index 0dcfa3c..fc4bce4 100644 --- a/manifest.json +++ b/manifest.json @@ -14,7 +14,7 @@ "email": "julien.malik@paraiso.me" }, "requirements": { - "yunohost": ">= 3.8.1" + "yunohost": ">= 4.0.0" }, "multi_instance": false, "services": [ diff --git a/scripts/backup b/scripts/backup index d59c65f..b4e5a99 100644 --- a/scripts/backup +++ b/scripts/backup @@ -52,7 +52,7 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" # BACKUP OF THE PHP-FPM CONFIGURATION #================================================= -ynh_backup --src_path="/etc/php//$phpversion/fpm/pool.d/$app.conf" +ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" #================================================= # BACKUP THE CRON FILE diff --git a/scripts/install b/scripts/install index f4962a5..19bde6f 100755 --- a/scripts/install +++ b/scripts/install @@ -67,7 +67,7 @@ ynh_setup_source --dest_dir="$final_path" #================================================= ynh_script_progression --message="Configuring NGINX web server..." -# Create a dedicated nginx config +# Create a dedicated NGINX config ynh_add_nginx_config #================================================= @@ -84,7 +84,7 @@ ynh_system_user_create --username=$app ynh_script_progression --message="Configuring PHP-FPM..." --weight=2 # Create a dedicated PHP-FPM config -ynh_add_fpm_config --phpversion=$YNH_PHP_VERSION +ynh_add_fpm_config phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #================================================= diff --git a/scripts/restore b/scripts/restore index 74aac70..89783b5 100644 --- a/scripts/restore +++ b/scripts/restore @@ -66,7 +66,8 @@ ynh_system_user_create --username=$app ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" -ynh_add_fpm_config --phpversion=$YNH_PHP_VERSION +ynh_add_fpm_config + #================================================= # RESTORE THE CRON FILE #=================================================