aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2023-11-06 15:17:47 -0500
committerJoshua M. Boniface <joshua@boniface.me>2023-11-06 15:17:47 -0500
commit9d4352789d6ff7a59cdda37e3bbb02aa740ed99f (patch)
treebbe73094e122e8955476873592ab9c6057777c3e
parent6392a8037f9be3526c350f61372c8fe17ab96937 (diff)
Backport pull request #10454 from jellyfin/release-10.8.z
Add MALLOC_TRIM_THRESHOLD_ to default ENV Original-merge: 9d565bbb83ef5757fd995a5932422b740dbc6c93 Merged-by: Joshua M. Boniface <joshua@boniface.me> Backported-by: Joshua M. Boniface <joshua@boniface.me>
-rw-r--r--debian/conf/jellyfin3
-rw-r--r--fedora/jellyfin.env6
2 files changed, 9 insertions, 0 deletions
diff --git a/debian/conf/jellyfin b/debian/conf/jellyfin
index aec1d4d10..af460fedc 100644
--- a/debian/conf/jellyfin
+++ b/debian/conf/jellyfin
@@ -24,6 +24,9 @@ JELLYFIN_WEB_OPT="--webdir=/usr/share/jellyfin/web"
# ffmpeg binary paths, overriding the system values
JELLYFIN_FFMPEG_OPT="--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"
+# Disable glibc dynamic heap adjustment
+MALLOC_TRIM_THRESHOLD_=131072
+
# [OPTIONAL] run Jellyfin as a headless service
#JELLYFIN_SERVICE_OPT="--service"
diff --git a/fedora/jellyfin.env b/fedora/jellyfin.env
index 1f79fac4f..cee8f6854 100644
--- a/fedora/jellyfin.env
+++ b/fedora/jellyfin.env
@@ -23,6 +23,12 @@ JELLYFIN_CACHE_DIR="/var/cache/jellyfin"
# web client path, installed by the jellyfin-web package
# JELLYFIN_WEB_OPT="--webdir=/usr/share/jellyfin-web"
+# In-App service control
+JELLYFIN_RESTART_OPT="--restartpath=/usr/libexec/jellyfin/restart.sh"
+
+# Disable glibc dynamic heap adjustment
+MALLOC_TRIM_THRESHOLD_=131072
+
# [OPTIONAL] ffmpeg binary paths, overriding the UI-configured values
#JELLYFIN_FFMPEG_OPT="--ffmpeg=/usr/bin/ffmpeg"