mirror of
				https://github.com/linuxserver/docker-jellyfin.git
				synced 2025-10-31 21:17:39 +09:00 
			
		
		
		
	Check ffmepg path, use proper health endpoint
This commit is contained in:
		| @@ -1,4 +1,9 @@ | |||||||
| #!/usr/bin/with-contenv bash | #!/usr/bin/with-contenv bash | ||||||
|  | # shellcheck shell=bash | ||||||
|  |  | ||||||
|  | if [[ -z "${FFMPEG_PATH}" ]] || [[ ! -f "${FFMPEG_PATH}" ]]; then | ||||||
|  |     FFMPEG_PATH=/usr/lib/jellyfin-ffmpeg/ffmpeg | ||||||
|  | fi | ||||||
|  |  | ||||||
| export \ | export \ | ||||||
|     JELLYFIN_DATA_DIR="/config/data" \ |     JELLYFIN_DATA_DIR="/config/data" \ | ||||||
| @@ -8,6 +13,6 @@ export \ | |||||||
|     JELLYFIN_WEB_DIR="/usr/share/jellyfin/web" |     JELLYFIN_WEB_DIR="/usr/share/jellyfin/web" | ||||||
|  |  | ||||||
| exec \ | exec \ | ||||||
|     s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8096" \ |     s6-notifyoncheck -d -n 300 -w 1000 -c "curl -s --output /dev/null http://localhost:8096/health" \ | ||||||
|         s6-setuidgid abc /usr/bin/jellyfin \ |         s6-setuidgid abc /usr/bin/jellyfin \ | ||||||
|         --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg |         --ffmpeg="${FFMPEG_PATH}" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user