2018-12-13 00:14:20 +00:00
|
|
|
# Jellyfin default configuration options
|
2019-02-01 03:06:03 +00:00
|
|
|
# This is a POSIX shell fragment
|
2018-12-13 00:14:20 +00:00
|
|
|
|
|
|
|
# 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
|
2018-12-13 00:34:51 +00:00
|
|
|
# to override the user or this config file's location.
|
2018-12-09 21:41:49 +00:00
|
|
|
|
2018-12-13 00:37:40 +00:00
|
|
|
#
|
2018-12-13 00:14:20 +00:00
|
|
|
# General options
|
2018-12-13 00:37:40 +00:00
|
|
|
#
|
|
|
|
|
2019-01-06 19:53:07 +00:00
|
|
|
# Program directories
|
2019-01-06 00:55:55 +00:00
|
|
|
JELLYFIN_DATA_DIRECTORY="/var/lib/jellyfin"
|
|
|
|
JELLYFIN_CONFIG_DIRECTORY="/etc/jellyfin"
|
|
|
|
JELLYFIN_LOG_DIRECTORY="/var/log/jellyfin"
|
2019-02-01 02:50:50 +00:00
|
|
|
JELLYFIN_CACHE_DIRECTORY="/var/cache/jellyfin"
|
2019-02-01 03:06:03 +00:00
|
|
|
|
2018-12-13 00:37:40 +00:00
|
|
|
# Restart script for in-app server control
|
2019-02-04 01:15:23 +00:00
|
|
|
JELLYFIN_RESTART_OPT="--restartpath=/usr/lib/jellyfin/restart.sh"
|
2019-02-01 03:06:03 +00:00
|
|
|
|
2019-02-04 01:15:23 +00:00
|
|
|
# [OPTIONAL] ffmpeg binary paths, overriding the UI-configured values
|
|
|
|
#JELLYFIN_FFMPEG_OPT="--ffmpeg=/usr/bin/ffmpeg"
|
|
|
|
#JELLYFIN_FFPROBE_OPT="--ffprobe=/usr/bin/ffprobe"
|
2019-02-01 03:06:03 +00:00
|
|
|
|
2019-02-04 01:15:23 +00:00
|
|
|
# [OPTIONAL] run Jellyfin as a headless service
|
|
|
|
#JELLYFIN_SERVICE_OPT="--service"
|
|
|
|
|
|
|
|
# [OPTIONAL] run Jellyfin without the web app
|
|
|
|
#JELLYFIN_NOWEBAPP_OPT="--noautorunwebapp"
|
2018-12-13 00:14:20 +00:00
|
|
|
|
2018-12-13 00:37:40 +00:00
|
|
|
#
|
|
|
|
# SysV init/Upstart options
|
|
|
|
#
|
|
|
|
|
|
|
|
# Application username
|
2018-12-13 00:14:20 +00:00
|
|
|
JELLYFIN_USER="jellyfin"
|
2018-12-13 00:37:40 +00:00
|
|
|
# Full application command
|
2019-02-04 01:15:23 +00:00
|
|
|
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"
|