mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Cleanup
This commit is contained in:
parent
0faf8ca83c
commit
a3c9dbeac0
1 changed files with 0 additions and 24 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue