1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mastodon_ynh.git synced 2024-09-03 19:46:02 +02:00
This commit is contained in:
Tagadda 2023-05-19 19:39:00 +02:00
parent 13a1bdf939
commit 803bb865b9
2 changed files with 6 additions and 5 deletions

View file

@ -24,9 +24,9 @@ architectures = "all"
multi_instance = true
ldap = true
sso = true
disk = "50M" # FIXME: replace with an **estimate** minimum disk requirement. e.g. 20M, 400M, 1G, ...
ram.build = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ...
ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ...
disk = "2G"
ram.build = "1G"
ram.runtime = "500M"
[install]
[install.domain]
@ -56,7 +56,7 @@ ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requiremen
sha256 = "12837c7b57acc11ebd24b23a270500c8917459ecdc2a841ba452296b02bcaf29"
autoupdate.strategy = "latest_github_release"
autoupdate.asset = "*.tar.gz"
autoupdate.asset = "tarball"
[resources.system_user]

View file

@ -10,7 +10,8 @@ nodejs_version=16
# Workaround for Mastodon on Bullseye
# See https://github.com/mastodon/mastodon/issues/15751#issuecomment-873594463
if [ "$(lsb_release --codename --short)" = "bullseye" ]; then
if [ "$(lsb_release --codename --short)" = "bullseye" ];
then
case $YNH_ARCH in
amd64)
ld_preload="LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so"