From b04a1df30549e8982c2cbb68fa95aba785d88af8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 24 Nov 2023 17:10:38 +0100 Subject: [PATCH] cleaning --- scripts/install | 4 ++-- scripts/remove | 1 - scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index c472b05..aacb8e4 100644 --- a/scripts/install +++ b/scripts/install @@ -29,13 +29,13 @@ ynh_script_progression --message="Configuring NGINX web server..." --weight=2 ynh_add_nginx_config # Create a dedicated PHP-FPM config -ynh_add_fpm_config --usage=low --footprint=low +ynh_add_fpm_config #================================================= # MODIFY A CONFIG FILE #================================================= -ynh_add_config --template="../conf/database.php" --destination="$install_dir/app/Config/database.php" +ynh_add_config --template="database.php" --destination="$install_dir/app/Config/database.php" #================================================= # MODIFY FIRST.CTP diff --git a/scripts/remove b/scripts/remove index e161d9c..7822e02 100644 --- a/scripts/remove +++ b/scripts/remove @@ -17,7 +17,6 @@ ynh_script_progression --message="Stopping and removing the systemd service..." # Remove the dedicated systemd config ynh_remove_systemd_config - # Remove the dedicated NGINX config ynh_remove_nginx_config diff --git a/scripts/upgrade b/scripts/upgrade index f796fc1..be7498d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -41,7 +41,7 @@ ynh_script_progression --message="Upgrading NGINX web server configuration..." - ynh_add_nginx_config # Create a dedicated PHP-FPM config -ynh_add_fpm_config --usage=low --footprint=low +ynh_add_fpm_config #================================================= # MODIFY A CONFIG FILE