From ca3b04652f53757612cf5ca9964d155ef15660ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 9 Dec 2023 22:10:48 +0100 Subject: [PATCH] cleaning --- manifest.toml | 5 ++++- scripts/install | 4 ++-- scripts/upgrade | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/manifest.toml b/manifest.toml index 11cf743..424d18b 100644 --- a/manifest.toml +++ b/manifest.toml @@ -18,8 +18,11 @@ code = "https://github.com/coturn/coturn" yunohost = ">= 11.2" architectures = "all" multi_instance = false + ldap = "not_relevant" + sso = "not_relevant" + disk = "50M" ram.build = "50M" ram.runtime = "50M" @@ -44,4 +47,4 @@ ram.runtime = "50M" [resources.permissions] [resources.apt] - packages = "sqlite3 libsqlite3-dev coturn acl" + packages = "sqlite3, libsqlite3-dev, coturn, acl" diff --git a/scripts/install b/scripts/install index 4cf58ec..d6ca56b 100644 --- a/scripts/install +++ b/scripts/install @@ -58,7 +58,7 @@ ynh_app_setting_set --app=$app --key=turnserver_pwd --value=$turnserver_pwd coturn_config_path="/etc/turnserver.conf" -ynh_add_config --template="../conf/turnserver.conf" --destination="$coturn_config_path" +ynh_add_config --template="turnserver.conf" --destination="$coturn_config_path" # Get public IP and set as external IP for coturn # note: '|| true' is used to ignore the errors if we can't get the public ipv4 or ipv6 @@ -86,7 +86,7 @@ chmod +x $data_dir/Coturn_config_rotate.sh # SET COTURN CRON #================================================= -ynh_add_config --template="../conf/cron_coturn" --destination="/etc/cron.d/$app" +ynh_add_config --template="cron_coturn" --destination="/etc/cron.d/$app" #================================================= # SETUP LOGROTATE diff --git a/scripts/upgrade b/scripts/upgrade index a4210cb..af68cbe 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -78,7 +78,7 @@ chmod +x $data_dir/Coturn_config_rotate.sh # SET COTURN CRON #================================================= -ynh_add_config --template="../conf/cron_coturn" --destination="/etc/cron.d/$app" +ynh_add_config --template="cron_coturn" --destination="/etc/cron.d/$app" #================================================= # MIGRATION 3 : USE STANDARD ACCESS FOR CERTIFCATE