1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00
This commit is contained in:
Josué Tille 2024-02-20 23:18:15 +01:00
parent 0faf8ca83c
commit a3c9dbeac0
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5

View file

@ -322,25 +322,6 @@ if [ -e /home/yunohost.app/matrix-$app ]; then
ynh_secure_remove --file=/home/yunohost.app/matrix-$app
fi
#=================================================
# MIGRATION 10 : leave port managed by yunohost
#=================================================
# TODO check on v2 how it works
closeport() {
local port=$1
if yunohost firewall list | grep -q "\- $port$"
then
ynh_script_progression --message="Closing port $port"
ynh_exec_warn_less yunohost firewall disallow Both $port
fi
}
# closeport $synapse_tls_port
# closeport $turnserver_tls_port
# closeport $turnserver_alt_tls_port
#=================================================
# MIGRATION 11 : make this app using full domain
#=================================================
@ -365,11 +346,6 @@ if grep -q matrix-$app /etc/passwd; then
adduser $app ssl-cert
fi
######################################### WARNING ################################
# TODO delete legacy user matrix-synapse
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================