summaryrefslogtreecommitdiff
path: root/media-tv/jellyfin/files/jellyfin.service
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
parent359c272de001021408e9f782cd5866410d4c439f (diff)
downloadgentoo-overlay-4398202c71bce3258187b49a72dfbb10bc99f49e.tar.gz
Add jellyfin from aten, with EAPI=7
Diffstat (limited to 'media-tv/jellyfin/files/jellyfin.service')
-rw-r--r--media-tv/jellyfin/files/jellyfin.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/media-tv/jellyfin/files/jellyfin.service b/media-tv/jellyfin/files/jellyfin.service
new file mode 100644
index 0000000..9a147f4
--- /dev/null
+++ b/media-tv/jellyfin/files/jellyfin.service
@@ -0,0 +1,13 @@
+[Unit]
+Description = Jellyfin Media Server
+After = network.target
+
+[Service]
+Type = simple
+User = jellyfin
+ExecStart = /usr/bin/jellyfin ${JELLYFIN_SERVICE_OPT} ${JELLYFIN_NOWEBAPP_OPT} ${JELLYFIN_ADD_OPTS}
+Restart = on-failure
+TimeoutSec = 15
+
+[Install]
+WantedBy = multi-user.target