diff --git a/scripts/install b/scripts/install index b8c1d65..a978443 100755 --- a/scripts/install +++ b/scripts/install @@ -253,7 +253,7 @@ chmod 600 $final_path/data/ice-servers.json #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=2 -yunohost service add $app --description="Videoconferencing server" --log="/var/log/$app/$app.log" --needs_exposed_ports $port +yunohost service add $app --description="Videoconferencing server" --log="/var/log/$app/$app.log" yunohost service add coturn-$app --description="Coturn TURN server" --log="/var/log/$app/turnserver.log" --needs_exposed_ports $turnserver_port #================================================= diff --git a/scripts/restore b/scripts/restore index 2c85d53..8b77157 100755 --- a/scripts/restore +++ b/scripts/restore @@ -96,7 +96,7 @@ systemctl enable coturn-$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" --needs_exposed_ports $port +yunohost service add $app --description="Videoconferencing server" --log="/var/log/$app/$app.log" yunohost service add coturn-$app --description="Coturn TURN server" --log="/var/log/$app/turnserver.log" --needs_exposed_ports $turnserver_port #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 9af7889..dcf9e1d 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -276,7 +276,7 @@ ynh_use_logrotate --non-append #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=2 -yunohost service add $app --description="Videoconferencing server" --log="/var/log/$app/$app.log" --needs_exposed_ports $port +yunohost service add $app --description="Videoconferencing server" --log="/var/log/$app/$app.log" yunohost service add coturn-$app --description="Coturn TURN server" --log="/var/log/$app/turnserver.log" --needs_exposed_ports $turnserver_port #=================================================