feat: manage jellyfin data migration_flag

This commit is contained in:
2024-07-02 22:06:38 +10:00
parent 2199e4e3c0
commit f3046f8fbb
5 changed files with 142 additions and 1 deletions
@@ -0,0 +1,8 @@
# Jellyfin systemd configuration options
# Use this file to override the user or environment file location.
[Service]
#User = jellyfin
EnvironmentFile = <%= @environment_file %>
WorkingDirectory = <%= @lib_dir %>
@@ -0,0 +1,38 @@
# Jellyfin default configuration options
# Use this file to override the default configurations; add additional
# options with JELLYFIN_ADD_OPTS.
# To override the user or this config file's location, use
# /etc/systemd/system/jellyfin.service.d/override.conf
#
# This is a POSIX shell fragment
#
#
# General options
#
# Program directories
JELLYFIN_DATA_DIR="<%= @lib_dir %>"
JELLYFIN_CONFIG_DIR="<%= @config_dir %>"
JELLYFIN_LOG_DIR="<%= @log_dir %>"
JELLYFIN_CACHE_DIR="<%= @cache_dir %>"
# web client path, installed by the jellyfin-web package
JELLYFIN_WEB_OPT="--webdir=/usr/share/jellyfin-web"
# [OPTIONAL] ffmpeg binary paths, overriding the UI-configured values
#JELLYFIN_FFMPEG_OPT="--ffmpeg=/usr/bin/ffmpeg"
# [OPTIONAL] run Jellyfin as a headless service
#JELLYFIN_SERVICE_OPT="--service"
# [OPTIONAL] run Jellyfin without the web app
#JELLYFIN_NOWEBAPP_OPT="--noautorunwebapp"
# [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