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