1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/discourse_ynh.git synced 2024-09-03 18:26:18 +02:00

Update _common.sh

This commit is contained in:
Éric Gaspar 2024-01-09 08:34:47 +01:00
parent f6caa2a48f
commit 434d421621

View file

@ -49,7 +49,7 @@ check_memory_requirements() {
if ! is_swap_present ; then
ynh_print_warn --message="You must have a swap partition in order to install and use this application"
elif ! is_swappiness_sufficient ; then
ynh_print_warn --message="Your swappiness must be higher than 50; please see https://en.wikipedia.org/wiki/Swappiness"
ynh_print_warn --message="Your swappiness must be higher than 10; please see https://en.wikipedia.org/wiki/Swappiness"
elif ! is_memory_available 1000000 ; then
ynh_print_warn --message="You must have a minimum of 1Gb available memory (RAM+swap) for the installation"
fi