mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-10-06 13:36:10 +08:00
wait for talk-recording to become available
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
4953ce95c6
commit
e9d8e1845a
1 changed files with 4 additions and 0 deletions
|
@ -586,6 +586,10 @@ fi
|
||||||
# Talk recording
|
# Talk recording
|
||||||
if [ -d "/var/www/html/custom_apps/spreed" ]; then
|
if [ -d "/var/www/html/custom_apps/spreed" ]; then
|
||||||
if [ "$TALK_RECORDING_ENABLED" = 'yes' ]; then
|
if [ "$TALK_RECORDING_ENABLED" = 'yes' ]; then
|
||||||
|
while ! nc -z "$TALK_RECORDING_HOST" 1234; do
|
||||||
|
echo "waiting for Talk Recording to become available..."
|
||||||
|
sleep 5
|
||||||
|
done
|
||||||
# TODO: migrate to occ command if that becomes available
|
# TODO: migrate to occ command if that becomes available
|
||||||
RECORDING_SERVERS_STRING="{\"servers\":[{\"server\":\"http://$TALK_RECORDING_HOST:1234/\",\"verify\":true}],\"secret\":\"$RECORDING_SECRET\"}"
|
RECORDING_SERVERS_STRING="{\"servers\":[{\"server\":\"http://$TALK_RECORDING_HOST:1234/\",\"verify\":true}],\"secret\":\"$RECORDING_SECRET\"}"
|
||||||
php /var/www/html/occ config:app:set spreed recording_servers --value="$RECORDING_SERVERS_STRING"
|
php /var/www/html/occ config:app:set spreed recording_servers --value="$RECORDING_SERVERS_STRING"
|
||||||
|
|
Loading…
Add table
Reference in a new issue