5054a77dcf
Doing this the other way was just complex. No longer try to override the system ffmpeg, just put ours somewhere else and depend on that package.
42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
# 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_DIRECTORY="/var/lib/jellyfin"
|
|
JELLYFIN_CONFIG_DIRECTORY="/etc/jellyfin"
|
|
JELLYFIN_LOG_DIRECTORY="/var/log/jellyfin"
|
|
JELLYFIN_CACHE_DIRECTORY="/var/cache/jellyfin"
|
|
|
|
# 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/share/jellyfin-ffmpeg/ffmpeg"
|
|
JELLYFIN_FFPROBE_OPT="--ffprobe=/usr/share/jellyfin-ffmpeg/ffprobe"
|
|
|
|
# [OPTIONAL] run Jellyfin as a headless service
|
|
#JELLYFIN_SERVICE_OPT="--service"
|
|
|
|
# [OPTIONAL] run Jellyfin without the web app
|
|
#JELLYFIN_NOWEBAPP_OPT="--noautorunwebapp"
|
|
|
|
#
|
|
# SysV init/Upstart options
|
|
#
|
|
|
|
# Application username
|
|
JELLYFIN_USER="jellyfin"
|
|
# Full application command
|
|
JELLYFIN_ARGS="--datadir=$JELLYFIN_DATA_DIRECTORY --configdir=$JELLYFIN_CONFIG_DIRECTORY --logdir=$JELLYFIN_LOG_DIRECTORY --cachedir=$JELLYFIN_CACHE_DIRECTORY $JELLYFIN_RESTART_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_FFPROBE_OPT $JELLYFIN_SERVICE_OPT $JELLFIN_NOWEBAPP_OPT"
|