From f10c9c9270e0d700e61d901e122a5f64db8fd9ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sat, 4 Mar 2017 21:17:00 +0100 Subject: [PATCH] Fix issue : https://github.com/YunoHost-Apps/synapse_ynh/issues/4 --- scripts/remove | 3 --- scripts/restore | 1 - 2 files changed, 4 deletions(-) diff --git a/scripts/remove b/scripts/remove index bba644f..2e5aac3 100755 --- a/scripts/remove +++ b/scripts/remove @@ -8,7 +8,6 @@ init_script domain=$(ynh_app_setting_get $app domain) synapse_tls_port=$(ynh_app_setting_get $app synapse_tls_port) -turnserver_port=$(ynh_app_setting_get $app turnserver_port) turnserver_tls_port=$(ynh_app_setting_get $app turnserver_tls_port) sudo service matrix-synapse stop || true @@ -29,8 +28,6 @@ closeport() { port=$synapse_tls_port closeport -port=$turnserver_port -closeport port=$turnserver_tls_port closeport diff --git a/scripts/restore b/scripts/restore index 128f7ab..a979e43 100644 --- a/scripts/restore +++ b/scripts/restore @@ -183,7 +183,6 @@ init_script domain=$(ynh_app_setting_get $app domain) synapse_port=$(ynh_app_setting_get $app synapse_port) synapse_tls_port=$(ynh_app_setting_get $app synapse_tls_port) -turnserver_port=$(ynh_app_setting_get $app turnserver_port) turnserver_tls_port=$(ynh_app_setting_get $app turnserver_tls_port) # Restore Nginx