From a6ee1a25220076a9d375987819446e61aeea9ad2 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Tue, 11 Aug 2020 02:52:48 -0500 Subject: [PATCH] Start testing etherpad from main installer. --- quick_jibri_installer.sh | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/quick_jibri_installer.sh b/quick_jibri_installer.sh index 9761605..c0983cf 100644 --- a/quick_jibri_installer.sh +++ b/quick_jibri_installer.sh @@ -494,15 +494,15 @@ elif [ "$ENABLE_GRAFANA_DSH" = "yes" ]; then echo "-- Grafana Dashboard will be enabled." fi done -#Grafana -while [[ "$ENABLE_GRAFANA_DSH" != "yes" && "$ENABLE_GRAFANA_DSH" != "no" ]] +#Docker Etherpad +while [[ "$ENABLE_DOCKERPAD" != "yes" && "$ENABLE_DOCKERPAD" != "no" ]] do -read -p "> Do you want to setup Grafana Dashboard: (yes or no) -( Please check requirements at: https://github.com/switnet-ltd/quick-jibri-installer )"$'\n' -r ENABLE_GRAFANA_DSH -if [ "$ENABLE_GRAFANA_DSH" = "no" ]; then - echo "Grafana Dashboard won't be enabled." -elif [ "$ENABLE_GRAFANA_DSH" = "yes" ]; then - echo "Grafana Dashboard will be enabled." +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_DOCKERPAD +if [ "$ENABLE_DOCKERPAD" = "no" ]; then + echo "Docker Etherpad won't be enabled." +elif [ "$ENABLE_DOCKERPAD" = "yes" ]; then + echo "Docker Etherpad will be enabled." fi done #Start configuration @@ -925,6 +925,11 @@ if [ "$ENABLE_GRAFANA_DSH" = "yes" ]; then echo "Grafana Dashboard will be enabled." bash $PWD/grafana.sh fi +#Docker Etherpad +if [ "$ENABLE_DOCKERPAD" = "yes" ]; then + echo "Docker Etherpad will be enabled." + bash $PWD/etherpad.sh +fi #Prevent Jibri conecction issue if [ -z "$(grep -n $DOMAIN /etc/hosts)" ];then sed -i "/127.0.0.1/a \\