aboutsummaryrefslogtreecommitdiff
path: root/debian/jellyfin.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/jellyfin.service')
-rw-r--r--debian/jellyfin.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/jellyfin.service b/debian/jellyfin.service
new file mode 100644
index 000000000..f1a8f4652
--- /dev/null
+++ b/debian/jellyfin.service
@@ -0,0 +1,14 @@
+[Unit]
+Description = Jellyfin Media Server
+After = network.target
+
+[Service]
+Type = simple
+EnvironmentFile = /etc/default/jellyfin
+User = jellyfin
+ExecStart = /usr/bin/jellyfin ${JELLYFIN_WEB_OPT} ${JELLYFIN_RESTART_OPT} ${JELLYFIN_FFMPEG_OPT} ${JELLYFIN_SERVICE_OPT} ${JELLYFIN_NOWEBAPP_OPT}
+Restart = on-failure
+TimeoutSec = 15
+
+[Install]
+WantedBy = multi-user.target