aboutsummaryrefslogtreecommitdiff
path: root/debian/jellyfin.service
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2020-03-22 16:01:33 -0400
committerJoshua M. Boniface <joshua@boniface.me>2020-03-22 16:01:33 -0400
commit8b620ed26addec0f42e2797e3e4d45fbd68b0f23 (patch)
tree33e4fa49ce16f540867986f2a27f335bd0a36c1d /debian/jellyfin.service
parent28f7df652015013ff5cedb10971fb69c8e41d2b1 (diff)
Move Debian folder to root of repo
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 0000000000..1305e238b0
--- /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_RESTART_OPT} ${JELLYFIN_FFMPEG_OPT} ${JELLYFIN_SERVICE_OPT} ${JELLYFIN_NOWEBAPP_OPT}
+Restart = on-failure
+TimeoutSec = 15
+
+[Install]
+WantedBy = multi-user.target