1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cypht_ynh.git synced 2024-09-03 18:26:09 +02:00
This commit is contained in:
Éric Gaspar 2024-07-05 14:48:10 +02:00
parent fa736ca640
commit 52f4704a6a
3 changed files with 3 additions and 8 deletions

View file

@ -16,7 +16,7 @@ admindoc = "https://cypht.org/install.html"
code = "https://github.com/cypht-org/cypht"
[integration]
yunohost = ">= 11.2.17"
yunohost = ">= 11.2.20"
helpers_version = "2.1"
architectures = "all"
multi_instance = true

View file

@ -8,10 +8,8 @@ source /usr/share/yunohost/helpers
#=================================================
ynh_script_progression "Removing system configurations related to $app..."
# Remove the dedicated NGINX config
ynh_config_remove_nginx
# Remove the dedicated PHP-FPM config
M config
ynh_config_remove_phpfpm
#=================================================

View file

@ -14,8 +14,7 @@ timezone=$(cat /etc/timezone)
#=================================================
ynh_script_progression "Upgrading source files..."
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" #--full_replace #--keep=".env"
ynh_setup_source --dest_dir="$install_dir" #--full_replace --keep=".env"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
@ -25,10 +24,8 @@ chown -R $app:www-data "$install_dir"
#=================================================
ynh_script_progression "Upgrading system configurations related to $app..."
# Create a dedicated PHP-FPM config
ynh_config_add_phpfpm
# Create a dedicated NGINX config
ynh_config_add_nginx
#=================================================