diff --git a/manifest.toml b/manifest.toml index 8e9fba1..8134585 100644 --- a/manifest.toml +++ b/manifest.toml @@ -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] diff --git a/scripts/_common.sh b/scripts/_common.sh index 46b041d..8f10c6b 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -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"