We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdc4079 commit f70926cCopy full SHA for f70926c
root/etc/s6-overlay/s6-rc.d/svc-jellyfin/run
@@ -1,6 +1,10 @@
1
#!/usr/bin/with-contenv bash
2
# shellcheck shell=bash
3
4
+if [[ -z "${FFMPEG_PATH}" ]] || [[ ! -f "${FFMPEG_PATH}" ]]; then
5
+ FFMPEG_PATH=/usr/lib/jellyfin-ffmpeg/ffmpeg
6
+fi
7
+
8
export \
9
JELLYFIN_DATA_DIR="/config/data" \
10
JELLYFIN_CONFIG_DIR="/config" \
@@ -9,6 +13,6 @@ export \
13
JELLYFIN_WEB_DIR="/usr/share/jellyfin/web"
14
11
15
exec \
12
- s6-notifyoncheck -d -n 300 -w 1000 \
16
+ s6-notifyoncheck -d -n 300 -w 1000 -c "curl -s --output /dev/null http://localhost:8096/health" \
17
s6-setuidgid abc /usr/bin/jellyfin \
- --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg
18
+ --ffmpeg="${FFMPEG_PATH}"
0 commit comments