1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/noalyss_ynh.git synced 2024-09-03 19:46:20 +02:00
This commit is contained in:
Éric Gaspar 2023-06-03 21:45:59 +02:00
parent 3a8da4f775
commit 1dd5598a68
2 changed files with 3 additions and 18 deletions

View file

@ -34,14 +34,12 @@ ynh_script_progression --message="Configuring PHP-FPM..." --weight=3
# Create a dedicated PHP-FPM config # Create a dedicated PHP-FPM config
ynh_add_fpm_config --usage=low --footprint=low 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 # Create a dedicated NGINX config
ynh_add_nginx_config ynh_add_nginx_config
# Use logrotate to manage application logfile(s)
ynh_use_logrotate
# ================================================= # =================================================
# MODIFY A CONFIG FILE # 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" chmod 650 "$install_dir/include/config.inc.php"
chown $app: "$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 # END OF SCRIPT
#================================================= #=================================================

View file

@ -38,11 +38,6 @@ ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=1
# Create a dedicated PHP-FPM config # Create a dedicated PHP-FPM config
ynh_add_fpm_config --usage=low --footprint=low 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 # Create a dedicated NGINX config
ynh_add_nginx_config ynh_add_nginx_config