1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/coturn_ynh.git synced 2024-09-03 18:16:32 +02:00
This commit is contained in:
Éric Gaspar 2023-12-09 22:10:48 +01:00
parent 3eef205668
commit ca3b04652f
3 changed files with 7 additions and 4 deletions

View file

@ -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"

View file

@ -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

View file

@ -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