diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 611be71..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,3 +0,0 @@ -# These are supported funding model platforms - -custom: ["https://www.paypal.me/switnet", switnet.net] diff --git a/README.md b/README.md index 5a041c3..d231641 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Login into your clean server, clone git repository and run the installer, ``` git clone https://github.com/switnet-ltd/quick-jibri-installer cd quick-jibri-installer -sudo bash quick_jibri_installer.sh +bash quick-jibri-installer.sh ``` ![QJI - Setup](https://raw.githubusercontent.com/wiki/switnet-ltd/quick-jibri-installer/images/qji-diagram-setup.png) diff --git a/quick_jibri_installer.sh b/quick_jibri_installer.sh index 5502167..0b9548b 100644 --- a/quick_jibri_installer.sh +++ b/quick_jibri_installer.sh @@ -340,6 +340,10 @@ apt-get -y install \ if [ "$LE_SSL" = "yes" ]; then apt-get -y install \ letsencrypt + if [ "$(dpkg-query -W -f='${Status}' ufw 2>/dev/null | grep -c "ok installed")" == "1" ]; then + echo "# Disable pre-installed ufw to allow ssl challenges validation." + ufw disable + fi fi echo "# Check and Install HWE kernel if possible..."