From cf9d3b82454517f002c799ecc5d50602705e6053 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 12 Nov 2023 09:04:43 +0100 Subject: [PATCH] cleaning --- manifest.toml | 4 ++++ scripts/install | 2 +- scripts/upgrade | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index fc8359b..f7ee15e 100644 --- a/manifest.toml +++ b/manifest.toml @@ -34,6 +34,10 @@ ram.runtime = "50M" type = "path" default = "/phpinfo" + [install.init_main_permission] + type = "group" + default = "visitors" + [install.phpversion] ask.en = "Choose the version of PHP to use." ask.fr = "Choisissez la version de PHP à utiliser." diff --git a/scripts/install b/scripts/install index 1c78ff1..73101fd 100755 --- a/scripts/install +++ b/scripts/install @@ -28,7 +28,7 @@ chown -R $app:www-data "$install_dir" ynh_script_progression --message="Configuring PHP-FPM..." # Create a dedicated PHP-FPM config -ynh_add_fpm_config --usage=low --footprint=low +ynh_add_fpm_config #================================================= # NGINX CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index fbdedec..e717174 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -36,7 +36,7 @@ chown -R $app:www-data "$install_dir" ynh_script_progression --message="Upgrading PHP-FPM configuration..." # Create a dedicated PHP-FPM config -ynh_add_fpm_config --usage=low --footprint=low +ynh_add_fpm_config #================================================= # NGINX CONFIGURATION