Start testing etherpad from main installer.
This commit is contained in:
parent
cab780e71c
commit
a6ee1a2522
|
@ -494,15 +494,15 @@ elif [ "$ENABLE_GRAFANA_DSH" = "yes" ]; then
|
||||||
echo "-- Grafana Dashboard will be enabled."
|
echo "-- Grafana Dashboard will be enabled."
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
#Grafana
|
#Docker Etherpad
|
||||||
while [[ "$ENABLE_GRAFANA_DSH" != "yes" && "$ENABLE_GRAFANA_DSH" != "no" ]]
|
while [[ "$ENABLE_DOCKERPAD" != "yes" && "$ENABLE_DOCKERPAD" != "no" ]]
|
||||||
do
|
do
|
||||||
read -p "> Do you want to setup Grafana Dashboard: (yes or no)
|
read -p "> Do you want to setup Docker Etherpad: (yes or no)
|
||||||
( Please check requirements at: https://github.com/switnet-ltd/quick-jibri-installer )"$'\n' -r ENABLE_GRAFANA_DSH
|
( Please check requirements at: https://github.com/switnet-ltd/quick-jibri-installer )"$'\n' -r ENABLE_DOCKERPAD
|
||||||
if [ "$ENABLE_GRAFANA_DSH" = "no" ]; then
|
if [ "$ENABLE_DOCKERPAD" = "no" ]; then
|
||||||
echo "Grafana Dashboard won't be enabled."
|
echo "Docker Etherpad won't be enabled."
|
||||||
elif [ "$ENABLE_GRAFANA_DSH" = "yes" ]; then
|
elif [ "$ENABLE_DOCKERPAD" = "yes" ]; then
|
||||||
echo "Grafana Dashboard will be enabled."
|
echo "Docker Etherpad will be enabled."
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
#Start configuration
|
#Start configuration
|
||||||
|
@ -925,6 +925,11 @@ if [ "$ENABLE_GRAFANA_DSH" = "yes" ]; then
|
||||||
echo "Grafana Dashboard will be enabled."
|
echo "Grafana Dashboard will be enabled."
|
||||||
bash $PWD/grafana.sh
|
bash $PWD/grafana.sh
|
||||||
fi
|
fi
|
||||||
|
#Docker Etherpad
|
||||||
|
if [ "$ENABLE_DOCKERPAD" = "yes" ]; then
|
||||||
|
echo "Docker Etherpad will be enabled."
|
||||||
|
bash $PWD/etherpad.sh
|
||||||
|
fi
|
||||||
#Prevent Jibri conecction issue
|
#Prevent Jibri conecction issue
|
||||||
if [ -z "$(grep -n $DOMAIN /etc/hosts)" ];then
|
if [ -z "$(grep -n $DOMAIN /etc/hosts)" ];then
|
||||||
sed -i "/127.0.0.1/a \\
|
sed -i "/127.0.0.1/a \\
|
||||||
|
|
Loading…
Reference in New Issue