mirror of
https://github.com/YunoHost-Apps/galene_ynh.git
synced 2024-09-03 18:36:31 +02:00
Update upgrade
This commit is contained in:
parent
4fbf2ca1dc
commit
fa29e53dc4
1 changed files with 6 additions and 0 deletions
|
@ -44,6 +44,12 @@ if [ -z "$final_path" ]; then
|
||||||
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -z "$turnserver_port" ]; then
|
||||||
|
turnserver_port=$(ynh_find_port --port=1194)
|
||||||
|
ynh_app_setting_set --app=$app --key=turnserver_port --value=$turnserver_port
|
||||||
|
ynh_exec_warn_less yunohost firewall allow Both $turnserver_port
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue