aboutsummaryrefslogtreecommitdiff
path: root/debian/conf/jellyfin.service
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2024-02-03 16:37:47 -0500
committerJoshua M. Boniface <joshua@boniface.me>2024-02-04 02:20:03 -0500
commit1784777c50950867b4d1dc815655e29e6687756b (patch)
treeb346dc57b12cc233e106a0ea8c979be96ab0cd09 /debian/conf/jellyfin.service
parentAdd combined Debian build (diff)
downloadjellyfin-packaging-1784777c50950867b4d1dc815655e29e6687756b.tar.gz
jellyfin-packaging-1784777c50950867b4d1dc815655e29e6687756b.tar.bz2
jellyfin-packaging-1784777c50950867b4d1dc815655e29e6687756b.zip
Fix naming of per-package files
Diffstat (limited to 'debian/conf/jellyfin.service')
-rw-r--r--debian/conf/jellyfin.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/conf/jellyfin.service b/debian/conf/jellyfin.service
new file mode 100644
index 0000000..2cc49f7
--- /dev/null
+++ b/debian/conf/jellyfin.service
@@ -0,0 +1,17 @@
+[Unit]
+Description = Jellyfin Media Server
+After = network-online.target
+
+[Service]
+Type = simple
+EnvironmentFile = /etc/default/jellyfin
+User = jellyfin
+Group = jellyfin
+WorkingDirectory = /var/lib/jellyfin
+ExecStart = /usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_ADDITIONAL_OPTS
+Restart = on-failure
+TimeoutSec = 15
+SuccessExitStatus=0 143
+
+[Install]
+WantedBy = multi-user.target
bgstack15