EDIT: Fix up messages about memory and swap
This commit is contained in:
parent
f7bb85e6f1
commit
bd7e6e26dd
|
@ -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."
|
||||
|
|
Loading…
Reference in New Issue