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-01 03:06:03 +00:00
|
|
|
JELLYFIN_RESTART_OPT="--restartpath /usr/lib/jellyfin/restart.sh"
|
|
|
|
|
|
|
|
# [OPTIONAL] ffmpeg binary paths
|
|
|
|
#JELLYFIN_FFMPEG_OPTS="-ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe"
|
|
|
|
|
|
|
|
# [OPTIONAL] Additional user-defined options for the binary
|
|
|
|
#JELLYFIN_ADD_OPTS=""
|
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-01 03:06:03 +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_OPTS $JELLYFIN_ADD_OPTS"
|