Fix grafana configuration
This commit is contained in:
parent
e801fdd6ba
commit
78bc49e5c9
12
grafana.sh
12
grafana.sh
|
@ -134,16 +134,14 @@ JITSI_TELEGRAF
|
||||||
|
|
||||||
run_service telegraf
|
run_service telegraf
|
||||||
|
|
||||||
echo "
|
echo -n "\n# Setup videobridge options\n"
|
||||||
# Setup videobridge options
|
echo '
|
||||||
"
|
# extra options to pass to the JVB daemon
|
||||||
sed -i "s|JVB_OPTS=\"--apis.*|JVB_OPTS=\"--apis=rest,xmpp\"|" /etc/jitsi/videobridge/config
|
JVB_OPTS="--apis=rest,xmpp"' >> /etc/jitsi/videobridge/config
|
||||||
sed -i "s|TRANSPORT=muc|TRANSPORT=muc,colibri|" /etc/jitsi/videobridge/sip-communicator.properties
|
sed -i "s|TRANSPORT=muc|TRANSPORT=muc,colibri|" /etc/jitsi/videobridge/sip-communicator.properties
|
||||||
systemctl restart jitsi-videobridge2
|
systemctl restart jitsi-videobridge2
|
||||||
|
|
||||||
echo "
|
echo -e "\n# Setup Grafana nginx domain\n"
|
||||||
# Setup Grafana nginx domain
|
|
||||||
"
|
|
||||||
sed -i "s|;protocol =.*|protocol = http|" $GRAFANA_INI
|
sed -i "s|;protocol =.*|protocol = http|" $GRAFANA_INI
|
||||||
sed -i "s|;http_addr =.*|http_addr = localhost|" $GRAFANA_INI
|
sed -i "s|;http_addr =.*|http_addr = localhost|" $GRAFANA_INI
|
||||||
sed -i "s|;http_port =.*|http_port = 3000|" $GRAFANA_INI
|
sed -i "s|;http_port =.*|http_port = 3000|" $GRAFANA_INI
|
||||||
|
|
Loading…
Reference in New Issue