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:
parent
0e8d537fd4
commit
fc07fead32
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue