diff options
author | Joshua M. Boniface <joshua@boniface.me> | 2024-02-03 16:08:56 -0500 |
---|---|---|
committer | Joshua M. Boniface <joshua@boniface.me> | 2024-02-03 16:09:29 -0500 |
commit | 9a2248e1d20ebc1826d246bf5bcb194e3499408e (patch) | |
tree | 87fbcfa2325e85797ad68d172208a4427aa470fb /debian/conf/jellyfin | |
parent | Add submodule checkout tool (diff) | |
download | jellyfin-packaging-9a2248e1d20ebc1826d246bf5bcb194e3499408e.tar.gz jellyfin-packaging-9a2248e1d20ebc1826d246bf5bcb194e3499408e.tar.bz2 jellyfin-packaging-9a2248e1d20ebc1826d246bf5bcb194e3499408e.zip |
Add combined Debian build
Diffstat (limited to 'debian/conf/jellyfin')
-rw-r--r-- | debian/conf/jellyfin | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/debian/conf/jellyfin b/debian/conf/jellyfin new file mode 100644 index 0000000..af460fe --- /dev/null +++ b/debian/conf/jellyfin @@ -0,0 +1,53 @@ +# Jellyfin default configuration options +# This is a POSIX shell fragment + +# Use this file to override the default configurations; add additional +# options with JELLYFIN_ADD_OPTS. + +# Under systemd, use +# /etc/systemd/system/jellyfin.service.d/jellyfin.service.conf +# to override the user or this config file's location. + +# +# 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" + +# 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" + +# [OPTIONAL] run Jellyfin without the web app +#JELLYFIN_NOWEBAPP_OPT="--nowebclient" + +# Space to add additional command line options to jellyfin (for help see ~$ jellyfin --help) +JELLYFIN_ADDITIONAL_OPTS="" + +# [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 + +# +# SysV init/Upstart options +# +# Note: These options are ignored by systemd; use /etc/systemd/system/jellyfin.d overrides instead. +# + +# Application username +JELLYFIN_USER="jellyfin" +# Full application command +JELLYFIN_ARGS="$JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLFIN_ADDITIONAL_OPTS --datadir $JELLYFIN_DATA_DIR --configdir $JELLYFIN_CONFIG_DIR --logdir $JELLYFIN_LOG_DIR --cachedir $JELLYFIN_CACHE_DIR" |