Commit graph

13 commits

Author SHA1 Message Date
tituspijean
43992e1338
More sanity in free memory calculation
Co-authored-by: ljf (zamentur) <zamentur@users.noreply.github.com>
2024-08-17 09:48:35 +02:00
e039d2e195 helpers: rewrite ynh_add_swap: rename files swap_file->swap_yunohost, sysctl 999-yunohost-swap.conf 2024-06-04 14:06:43 +02:00
03837bd9b8 helpers: rewrite ynh_add_swap: cleaner code 2024-06-04 14:06:43 +02:00
662bc6097a helpers: rewrite ynh_add_swap: cleaner code with simpler calculations 2024-06-04 14:06:43 +02:00
ee3be7a0ed helpers: rewrite ynh_add_swap: cleaner code with early exits 2024-06-04 14:06:43 +02:00
0e90430419 helpers: rewrite ynh_del_swap with a variable swap file location. 2024-06-04 14:06:43 +02:00
2aa14345fe helpers: replace ynh_is_main_device_a_sd_card with ynh_is_on_sd_card --dir=the_dir_to_check 2024-06-04 14:06:43 +02:00
f005a11a0d Update documentation for ynh_add/del_swap 2024-06-04 14:06:43 +02:00
ljf (zamentur)
beff899e5f
[enh] Configure swappiness 2024-05-31 09:03:01 +02:00
tituspijean
38fc88dcbe
Fixes and enhancements for swap management 2024-05-30 22:10:39 +00:00
tituspijean
a54ec11ae7
Implement config panel for swap management 2024-05-30 22:16:03 +02:00
Alexandre Aubin
7011b1c879 YNH_APP_HELPERS_DIR -> YNH_HELPERS_DIR 2024-05-27 16:35:38 +02:00
a2bc8c4f38 Create versionned directories of the helpers 2024-05-27 16:08:10 +02:00