Etherpad needs quite a lot of RAM
This commit is contained in:
parent
ce466d8c94
commit
96b4ad2f36
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue