forked from switnet/quick-jibri-installer
Only look for domain if directory exists
This commit is contained in:
parent
d17547d6e6
commit
ccebec493b
|
@ -45,7 +45,9 @@ else
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -d /etc/prosody/ ];then
|
||||||
DOMAIN=$(ls /etc/prosody/conf.d/ | grep -v localhost | awk -F'.cfg' '{print $1}' | awk '!NF || !seen[$0]++')
|
DOMAIN=$(ls /etc/prosody/conf.d/ | grep -v localhost | awk -F'.cfg' '{print $1}' | awk '!NF || !seen[$0]++')
|
||||||
|
fi
|
||||||
CONF_JSON="/etc/jitsi/jibri/config.json"
|
CONF_JSON="/etc/jitsi/jibri/config.json"
|
||||||
JIBRI_CONF="/etc/jitsi/jibri/jibri.conf"
|
JIBRI_CONF="/etc/jitsi/jibri/jibri.conf"
|
||||||
DIR_RECORD=/var/jbrecord
|
DIR_RECORD=/var/jbrecord
|
||||||
|
|
Loading…
Reference in New Issue