mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
Hardcore the needed RAM
This commit is contained in:
parent
8e822c6e43
commit
ed8f4f56e2
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ ynh_add_swap () {
|
||||||
# Can't swap inside an LXD
|
# Can't swap inside an LXD
|
||||||
if [ "$(systemd-detect-virt)" == "lxc" ]
|
if [ "$(systemd-detect-virt)" == "lxc" ]
|
||||||
then
|
then
|
||||||
ynh_print_warn --message="You are inside a LXC container, swap will not be added, but that can cause troubles for the app $app. Please make sure you have more than $size M available RAM."
|
ynh_print_warn --message="You are inside a LXC container, swap will not be added, but that can cause troubles for the app $app. Please make sure you have more than 2.5G available RAM."
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue