mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 21:37:10 -04:00
Add MALLOC_TRIM_THRESHOLD_ to default ENV
Original-merge: 9d565bbb83
Merged-by: Joshua M. Boniface <joshua@boniface.me>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
45 lines
1.2 KiB
Bash
45 lines
1.2 KiB
Bash
# Jellyfin default configuration options
|
|
|
|
# Use this file to override the default configurations; add additional
|
|
# options with JELLYFIN_ADD_OPTS.
|
|
|
|
# To override the user or this config file's location, use
|
|
# /etc/systemd/system/jellyfin.service.d/override.conf
|
|
|
|
#
|
|
# This is a POSIX shell fragment
|
|
#
|
|
|
|
#
|
|
# General options
|
|
#
|
|
|
|
# Program directories
|
|
JELLYFIN_DATA_DIR="/var/lib/jellyfin"
|
|
JELLYFIN_CONFIG_DIR="/etc/jellyfin"
|
|
JELLYFIN_LOG_DIR="/var/log/jellyfin"
|
|
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"
|
|
|
|
# [OPTIONAL] run Jellyfin as a headless service
|
|
#JELLYFIN_SERVICE_OPT="--service"
|
|
|
|
# [OPTIONAL] run Jellyfin without the web app
|
|
#JELLYFIN_NOWEBAPP_OPT="--nowebclient"
|
|
|
|
# [OPTIONAL] run Jellyfin with ASP.NET Server Garbage Collection (uses more RAM and less CPU than Workstation GC)
|
|
# 0 = Workstation
|
|
# 1 = Server
|
|
#COMPlus_gcServer=1
|