Dirty fix for jigasi transcriber

(cherry picked from commit ab9e30ca1c)
This commit is contained in:
Luis Guzmán 2020-06-03 05:19:35 -05:00
parent 71ee2c742e
commit 5a183ddadb
1 changed files with 9 additions and 0 deletions

View File

@ -208,6 +208,15 @@ sed -i "/xmpp.acc.ANONYMOUS_AUTH/ s|# ||" $JIG_SIP_PROP
prosodyctl register transcript auth.$DOMAIN jigasi prosodyctl register transcript auth.$DOMAIN jigasi
#Temp fix Jigasi Transcript
if [ grep -x "sleep" /etc/init.d/jicofo ]; then
echo "Jicofo delay already present."
else
echo "Adding Jicofo delay..."
sed -i "/\/lib\/lsb\/init-functions/i sleep 20" /etc/init.d/jicofo
systemctl daemon-reload
fi
systemctl restart prosody \ systemctl restart prosody \
jicofo \ jicofo \
jibri* \ jibri* \