summaryrefslogtreecommitdiff
path: root/media-tv/jellyfin/files/jellyfin.service.conf
diff options
context:
space:
mode:
authorGuillermo Ramos2020-11-12 19:09:00 +0100
committerGuillermo Ramos2020-11-12 19:09:00 +0100
commit4398202c71bce3258187b49a72dfbb10bc99f49e (patch)
treed496a1acf285d19ecff79b3593089205d815067a /media-tv/jellyfin/files/jellyfin.service.conf
parent359c272de001021408e9f782cd5866410d4c439f (diff)
downloadgentoo-overlay-4398202c71bce3258187b49a72dfbb10bc99f49e.tar.gz
Add jellyfin from aten, with EAPI=7
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="