From 782a60219a8723f9318d0064aaff95cd11165fff Mon Sep 17 00:00:00 2001 From: SolAZDev Date: Mon, 4 Sep 2023 23:58:10 -0400 Subject: [PATCH] removed php references --- scripts/backup | 6 ------ scripts/install | 14 -------------- 2 files changed, 20 deletions(-) diff --git a/scripts/backup b/scripts/backup index b05a8c6..40caceb 100755 --- a/scripts/backup +++ b/scripts/backup @@ -39,12 +39,6 @@ ynh_backup --src_path="$data_dir" --is_big ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" -#================================================= -# BACKUP THE PHP-FPM CONFIGURATION -#================================================= - -ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" - #================================================= # BACKUP FAIL2BAN CONFIGURATION #================================================= diff --git a/scripts/install b/scripts/install index 8b33bf0..cf95d1c 100755 --- a/scripts/install +++ b/scripts/install @@ -55,20 +55,6 @@ chown -R $app:www-data "$install_dir" #================================================= ynh_script_progression --message="Adding system configurations related to $app..." --weight=1 -### `ynh_add_fpm_config` is used to set up a PHP config. -### You can remove it if your app doesn't use PHP. -### `ynh_add_fpm_config` will use the files conf/php-fpm.conf -### If you're not using these lines: -### - You can remove these files in conf/. -### - Remove the section "BACKUP THE PHP-FPM CONFIGURATION" in the backup script -### - Remove also the section "REMOVE PHP-FPM CONFIGURATION" in the remove script -### - As well as the section "RESTORE THE PHP-FPM CONFIGURATION" in the restore script -### with the reload at the end of the script. -### - And the section "PHP-FPM CONFIGURATION" in the upgrade script - -# Create a dedicated PHP-FPM config using the conf/php-fpm.conf or conf/extra_php-fpm.conf -ynh_add_fpm_config - # Create a dedicated NGINX config using the conf/nginx.conf template ynh_add_nginx_config