From 7cf02a56ed39d06c5ab25cc451968f21d2d1ae10 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 12 Jan 2021 15:47:28 +0100 Subject: [PATCH] Fix --- scripts/restore | 1 + scripts/upgrade | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 43e1834..3a0d2e2 100755 --- a/scripts/restore +++ b/scripts/restore @@ -97,6 +97,7 @@ systemctl enable $app.service --quiet ynh_script_progression --message="Integrating service in YunoHost..." --weight=2 yunohost service add $app --description="Videoconferencing server" --log="/var/log/$app/$app.log" +yunohost service add coturn-$app --needs_exposed_ports $turnserver_tls_port #================================================= # START SYSTEMD SERVICE diff --git a/scripts/upgrade b/scripts/upgrade index 2c849ed..5e52659 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -150,9 +150,10 @@ chmod -R 755 $final_path #================================================= # INTEGRATE SERVICE IN YUNOHOST #================================================= -ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 +ynh_script_progression --message="Integrating service in YunoHost..." --weight=2 yunohost service add $app --description="Videoconferencing server" --log="/var/log/$app/$app.log" +yunohost service add coturn-$app --needs_exposed_ports $turnserver_tls_port #================================================= # START SYSTEMD SERVICE