diff options
author | Joshua M. Boniface <joshua@boniface.me> | 2024-02-03 16:08:56 -0500 |
---|---|---|
committer | Joshua M. Boniface <joshua@boniface.me> | 2024-02-03 16:09:29 -0500 |
commit | 9a2248e1d20ebc1826d246bf5bcb194e3499408e (patch) | |
tree | 87fbcfa2325e85797ad68d172208a4427aa470fb /debian/jellyfin.service | |
parent | Add submodule checkout tool (diff) | |
download | jellyfin-packaging-9a2248e1d20ebc1826d246bf5bcb194e3499408e.tar.gz jellyfin-packaging-9a2248e1d20ebc1826d246bf5bcb194e3499408e.tar.bz2 jellyfin-packaging-9a2248e1d20ebc1826d246bf5bcb194e3499408e.zip |
Add combined Debian build
Diffstat (limited to 'debian/jellyfin.service')
-rw-r--r-- | debian/jellyfin.service | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/jellyfin.service b/debian/jellyfin.service new file mode 100644 index 0000000..2cc49f7 --- /dev/null +++ b/debian/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 |