jellyfin and pegasus in same group

This commit is contained in:
Brad Stein 2025-09-18 09:55:00 -05:00
parent 3c97a02fa7
commit 938f6b336c

View File

@ -38,12 +38,13 @@ spec:
containerPort: 8096 containerPort: 8096
command: ["/bin/sh","-lc"] command: ["/bin/sh","-lc"]
args: args:
- | - >
umask 0002 set -e;
exec /usr/lib/jellyfin/bin/jellyfin \ umask 0002;
--datadir /config \ BIN="$(command -v jellyfin || true)";
--cachedir /cache \ if [ -z "$BIN" ] && [ -x /usr/lib/jellyfin/bin/jellyfin ]; then BIN=/usr/lib/jellyfin/bin/jellyfin; fi;
--ffmpeg /usr/lib/jellyfin-ffmpeg/ffmpeg if [ -z "$BIN" ]; then echo "jellyfin binary not found" >&2; ls -la /usr/lib/jellyfin/bin || true; exit 127; fi;
exec "$BIN" --datadir /config --cachedir /cache --ffmpeg /usr/lib/jellyfin-ffmpeg/ffmpeg
env: env:
- name: NVIDIA_DRIVER_CAPABILITIES - name: NVIDIA_DRIVER_CAPABILITIES
value: "compute,video,utility" value: "compute,video,utility"