Skip to content
Snippets Groups Projects
Commit 96b4ad2f authored by Bob Mottram's avatar Bob Mottram
Browse files

Etherpad needs quite a lot of RAM

parent ce466d8c
No related branches found
No related tags found
No related merge requests found
......@@ -444,6 +444,13 @@ function install_etherpad {
exit 7359
fi
# Check the amount of RAM
ram_available=$(grep MemTotal /proc/meminfo | awk '{print $2}')
if [ $ram_available -lt 2000000 ]; then
echo $'Need at least 2GB RAM to install etherpad'
exit 783524
fi
if [ -f $IMAGE_PASSWORD_FILE ]; then
ETHERPAD_ADMIN_PASSWORD="$(printf `cat $IMAGE_PASSWORD_FILE`)"
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment