qr_ynh/scripts/upgrade

13 lines
372 B
Plaintext
Raw Permalink Normal View History

2019-08-13 21:35:51 +02:00
#!/bin/bash
source _common.sh
2019-08-13 21:35:51 +02:00
source /usr/share/yunohost/helpers
2023-07-08 22:28:20 +02:00
ynh_setup_source --dest_dir="$install_dir"
libreqr_apply_filesystem_permissions
2019-08-13 21:35:51 +02:00
2022-03-03 17:58:37 +01:00
ynh_script_progression --message="Upgrading NGINX web server configuration..."
ynh_add_nginx_config
2019-08-13 21:35:51 +02:00
2022-03-03 17:58:37 +01:00
ynh_script_progression --message="Upgrading PHP-FPM configuration..."
2023-07-08 22:28:20 +02:00
ynh_add_fpm_config --usage="medium" --footprint="low"