diff --git a/scripts/install b/scripts/install index d39c0d9..d994873 100644 --- a/scripts/install +++ b/scripts/install @@ -34,14 +34,12 @@ ynh_script_progression --message="Configuring PHP-FPM..." --weight=3 # Create a dedicated PHP-FPM config ynh_add_fpm_config --usage=low --footprint=low -#================================================= -# NGINX CONFIGURATION -#================================================= -ynh_script_progression --message="Configuring NGINX web server..." --weight=2 - # Create a dedicated NGINX config ynh_add_nginx_config +# Use logrotate to manage application logfile(s) +ynh_use_logrotate + # ================================================= # MODIFY A CONFIG FILE # ================================================= @@ -52,14 +50,6 @@ ynh_add_config --template="../conf/noalyss.conf" --destination="$install_dir/inc chmod 650 "$install_dir/include/config.inc.php" chown $app: "$install_dir/include/config.inc.php" -#================================================= -# SETUP LOGROTATE -#================================================= -ynh_script_progression --message="Configuring log rotation..." - -# Use logrotate to manage application logfile(s) -ynh_use_logrotate - #================================================= # END OF SCRIPT #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 855d794..bccb885 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -38,11 +38,6 @@ ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=1 # Create a dedicated PHP-FPM config ynh_add_fpm_config --usage=low --footprint=low -#================================================= -# NGINX CONFIGURATION -#================================================= -ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=1 - # Create a dedicated NGINX config ynh_add_nginx_config