Files
jellyfin/root/etc/s6-overlay/s6-rc.d/svc-jellyfin/run
2022-12-07 14:19:21 +00:00

14 lines
408 B
Plaintext
Executable File

#!/usr/bin/with-contenv bash
export \
JELLYFIN_DATA_DIR="/config/data" \
JELLYFIN_CONFIG_DIR="/config" \
JELLYFIN_LOG_DIR="/config/log" \
JELLYFIN_CACHE_DIR="/config/cache" \
JELLYFIN_WEB_DIR="/usr/share/jellyfin/web"
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8096" \
s6-setuidgid abc /usr/bin/jellyfin \
--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg