summaryrefslogtreecommitdiff
path: root/media-tv/jellyfin/files/jellyfin.service
diff options
context:
space:
mode:
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