Dirty fix for jigasi transcriber

This commit is contained in:
Luis Guzmán 2020-06-03 05:19:35 -05:00
parent 7517f2f4a0
commit ab9e30ca1c
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* \