projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c2777f
)
we require 2GB of swap now
author
Jeff Atwood
<jatwood@codinghorror.com>
Mon, 16 May 2016 22:43:29 +0000
(15:43 -0700)
committer
Jeff Atwood
<jatwood@codinghorror.com>
Mon, 16 May 2016 22:43:29 +0000
(15:43 -0700)
discourse-setup
patch
|
blob
|
blame
|
history
diff --git
a/discourse-setup
b/discourse-setup
index 59d1e857bebe6671e60051900dc85c7027148dee..e78de5f549d246a785b2edd0e45e877184cc5c7c 100755
(executable)
--- a/
discourse-setup
+++ b/
discourse-setup
@@
-28,7
+28,7
@@
check_disk_and_memory() {
if [ "$avail_mem" -lt 1800 ]; then
total_swap="$(LANG=C free -m | grep ^Swap: | awk '{print $2}')"
if [ "$total_swap" -lt 1000 ]; then
- echo "WARNING: Discourse requires at least
1
GB of swap when running with less "
+ echo "WARNING: Discourse requires at least
2
GB of swap when running with less "
echo "than 2GB of RAM. This system does not appear to have sufficient swap space."
echo
echo "Without sufficient swap space, your site may not work properly, and future"