summaryrefslogtreecommitdiff
path: root/media-tv/jellyfin/files/jellyfin.service.conf
diff options
context:
space:
mode:
Diffstat (limited to 'media-tv/jellyfin/files/jellyfin.service.conf')
-rw-r--r--media-tv/jellyfin/files/jellyfin.service.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/media-tv/jellyfin/files/jellyfin.service.conf b/media-tv/jellyfin/files/jellyfin.service.conf
new file mode 100644
index 0000000..465a8fc
--- /dev/null
+++ b/media-tv/jellyfin/files/jellyfin.service.conf
@@ -0,0 +1,22 @@
+# Jellyfin systemd configuration options
+
+# Use this file to override the user or environment file location.
+
+[Service]
+
+# Application username
+User = jellyfin
+
+# Program directories
+Environment="JELLYFIN_DATA_DIR=/var/lib/jellyfin"
+Environment="JELLYFIN_CONFIG_DIR=/etc/jellyfin"
+Environment="JELLYFIN_LOG_DIR=/var/log/jellyfin"
+Environment="JELLYFIN_CACHE_DIR=/var/cache/jellyfin"
+
+# [OPTIONAL] run Jellyfin as a headless service
+#Environment="JELLYFIN_SERVICE_OPT=--service"
+
+# [OPTIONAL] run Jellyfin without the web app
+#Environment="JELLYFIN_NOWEBAPP_OPT=--noautorunwebapp"
+
+Environment="JELLYFIN_ADD_OPTS="