2020-03-22 20:01:33 +00:00
|
|
|
# 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"
|
|
|
|
|
2020-04-29 20:06:42 +00:00
|
|
|
# web client path, installed by the jellyfin-web package
|
|
|
|
JELLYFIN_WEB_OPT="--webdir=/usr/share/jellyfin/web"
|
|
|
|
|
2020-03-22 20:01:33 +00:00
|
|
|
# Restart script for in-app server control
|
|
|
|
JELLYFIN_RESTART_OPT="--restartpath=/usr/lib/jellyfin/restart.sh"
|
|
|
|
|
|
|
|
# ffmpeg binary paths, overriding the system values
|
|
|
|
JELLYFIN_FFMPEG_OPT="--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"
|
|
|
|
|
|
|
|
# [OPTIONAL] run Jellyfin as a headless service
|
|
|
|
#JELLYFIN_SERVICE_OPT="--service"
|
|
|
|
|
|
|
|
# [OPTIONAL] run Jellyfin without the web app
|
2020-07-23 18:51:15 +00:00
|
|
|
#JELLYFIN_NOWEBAPP_OPT="--nowebclient"
|
2020-03-22 20:01:33 +00:00
|
|
|
|
2020-08-28 19:24:21 +00:00
|
|
|
# Space to add additional command line options to jellyfin (for help see ~$ jellyfin --help)
|
|
|
|
JELLYFIN_ADDITIONAL_OPTS=""
|
|
|
|
|
2021-04-11 10:57:28 +00:00
|
|
|
# [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
|
|
|
|
|
2020-03-22 20:01:33 +00:00
|
|
|
#
|
|
|
|
# SysV init/Upstart options
|
|
|
|
#
|
|
|
|
|
|
|
|
# Application username
|
|
|
|
JELLYFIN_USER="jellyfin"
|
|
|
|
# Full application command
|
2020-11-24 11:23:44 +00:00
|
|
|
JELLYFIN_ARGS="$JELLYFIN_WEB_OPT $JELLYFIN_RESTART_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLFIN_ADDITIONAL_OPTS"
|