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 2023-10-27 14:40:53 +02:00
parent 0e8d537fd4
commit fc07fead32

View file

@ -31,7 +31,7 @@ is_swap_present() {
# Returns true if swappiness higher than 50
# usage: is_swappiness_sufficient
is_swappiness_sufficient() {
[ $(cat /proc/sys/vm/swappiness) -gt 50 ]
[ $(cat /proc/sys/vm/swappiness) -gt 10 ]
}
# Returns true if specified free memory is available (RAM + swap)