diff --git a/lib/install b/lib/install index f2ee432..cd0316f 100644 --- a/lib/install +++ b/lib/install @@ -643,7 +643,7 @@ tools_port() { swap_delete() { local swapkb=$(grep SwapTotal /proc/meminfo | cut -f 2 -d ':' | tr -d ' ' | cut -f 1 -d 'k') if [[ -n $swapkb && $swapkb =~ ^[0-9]+$ && $swapkb -gt 0 && $(conf_read swap-owner) == "webinoly" ]]; then - sudo swapoff -a -v + sudo swapoff -a -v > /dev/null sudo rm /swapfile sudo sed -i '/\/swapfile/d' /etc/fstab sudo sed -i '/vm.swappiness/d' /etc/sysctl.conf diff --git a/lib/sites b/lib/sites index f190b86..07a826f 100644 --- a/lib/sites +++ b/lib/sites @@ -14,8 +14,11 @@ nginx_helper_plugin() { echo "" echo "${gre} Nginx Helper Plugin has been installed!" echo " Please, activate this plugin for a better experience with FastCgi Cache." - echo "${blu}It is important to configure the Purge Method of the plugin as “Delete local server cache file”, the support for the purge/url method has been disabled because it is considered a security risk. Similarly, the “Caching Method” should be set to “Nginx FastCgi Cache”. ${end}" - echo "" + echo "${blu} ** IMPORTANT - Plugin Settings **" + echo "- The “Caching Method” should be set to “Nginx FastCgi Cache”." + echo "- Support for purge/url method has been disabled because it is considered a security risk." + echo "- The Purge Method should be set to “Delete local server cache file” " + echo "${end}" } @@ -269,7 +272,7 @@ _EOF_ deletesite() { - # Determine id site is WP, so you should delete the DB too. + # Determine if site is WP, so you should delete the DB too. if [[ -a /var/www/$domain/wp-config.php || -a /var/www/$domain/htdocs/wp-config.php ]]; then echo "${blu}Delete Database [Y/n]?${end}" while read -r -n 1 -s dbdel; do diff --git a/plugins/stack b/plugins/stack index 38c4e60..d4011b5 100644 --- a/plugins/stack +++ b/plugins/stack @@ -446,8 +446,8 @@ elif [[ $opt == "-purge-server-all" ]]; then echo "${gre}" echo "****************************************************************************" - echo "*** Webinoly Stack have been completely removed from your server ***" - echo "**** We are sad because you decided to remove Webinoly!! ****" + echo "*** Webinoly Stack have been completely removed from your server ***" + echo "**** We are sad because you decided to remove Webinoly!! ****" echo "****************************************************************************" echo "${end}" else diff --git a/plugins/webinoly b/plugins/webinoly index a56104f..869b2ad 100644 --- a/plugins/webinoly +++ b/plugins/webinoly @@ -200,8 +200,8 @@ elif [ "$opt" == "-uninstall" ]; then swap_delete fi if [[ $(conf_read pre-packs) == true ]]; then - sudo apt-get -y -qq purge pwgen unzip - sudo apt-get -y -qq autoremove + sudo apt-get -y -qq purge pwgen unzip > /dev/null + sudo apt-get -y -qq autoremove > /dev/null conf_write pre-packs purged fi sudo rm -rf /opt/webinoly