diff options
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 |