From: Jay Pfaffman Date: Mon, 12 Sep 2016 22:11:19 +0000 (-0700) Subject: EDIT: Fix up messages about memory and swap X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=bd7e6e26dde62a8d6f6f99158913e1513108a480;p=discourse_docker.git EDIT: Fix up messages about memory and swap --- diff --git a/discourse-setup b/discourse-setup index 2f3ac73..30c998c 100755 --- a/discourse-setup +++ b/discourse-setup @@ -46,8 +46,8 @@ check_disk_and_memory() { if [ "$avail_mem" -le 2 ]; then total_swap=`free -g --si | awk ' /Swap:/ {print $2} '` if [ "$total_swap" -lt 2 ]; then - echo "WARNING: Discourse requires at least 2GB of swap when running with less " - echo "than 2GB of RAM. This system does not appear to have sufficient swap space." + echo "WARNING: Discourse requires at least 2GB of swap when running with 2GB of RAM" + echo "or less. This system does not appear to have sufficient swap space." echo echo "Without sufficient swap space, your site may not work properly, and future" echo "upgrades of Discourse may not complete successfully."