1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pyinventory_ynh.git synced 2024-09-03 20:16:09 +02:00

add port variable for NGINX regen config

This commit is contained in:
ericgaspar 2020-12-09 18:44:04 +01:00
parent 0b43669038
commit b59b200f32
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -27,11 +27,12 @@ ynh_script_progression --message="Loading installation settings..."
public_path=$(ynh_app_setting_get --app="$app" --key=public_path)
final_path=$(ynh_app_setting_get --app="$app" --key=final_path)
is_public=$(ynh_app_setting_get --app="$app" --key=is_public)
port=$(ynh_app_setting_get --app="$app" --key=port)
#=================================================
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
#=================================================
ynh_script_progression --message="Backing up the app before changing its url (may take a while)..." --weight=40
ynh_script_progression --message="Backing up the app before changing its URL (may take a while)..." --weight=40
# Backup the current version of the app
ynh_backup_before_upgrade