From 7277f22a7d083157bf8af83f5bc32ab4b420f192 Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Sun, 18 Aug 2024 20:47:20 +0200 Subject: [PATCH] Update INSTALL.sh --- version/0.2.5/INSTALL.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/version/0.2.5/INSTALL.sh b/version/0.2.5/INSTALL.sh index 898f01b4..43d004de 100644 --- a/version/0.2.5/INSTALL.sh +++ b/version/0.2.5/INSTALL.sh @@ -208,6 +208,7 @@ detect_os_and_package_manager update_package_manager install_packages download_skeleton_directory_from_github +setup_bind # must run after download_skeleton_directory_from_github install_openadmin opencli_setup configure_docker @@ -1188,12 +1189,16 @@ download_skeleton_directory_from_github(){ echo "Downloading configuration files to ${ETC_DIR}" echo "" git clone https://github.com/stefanpejcic/openpanel-configuration ${ETC_DIR} > /dev/null 2>&1 - mkdir -p /etc/bind/ - cp -r /etc/openpanel/bind9/* /etc/bind/ } - +setup_bind(){ + echo "Setting DNS service.." + echo "" + mkdir -p /etc/bind/ + cp -r /etc/openpanel/bind9/* /etc/bind/ + echo " DNSStubListener=no" >> /etc/systemd/resolved.conf && systemctl restart systemd-resolved +} send_install_log(){ # Restore normal output to the terminal, so we dont save generated admin password in log file!