Compare commits
1
Commits
96000e17ed
...
00009b8080
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
00009b8080 |
@@ -75,6 +75,14 @@ spec:
|
|||||||
[ ! -e /config/root ] && ln -sf /config/data/root /config/root || true
|
[ ! -e /config/root ] && ln -sf /config/data/root /config/root || true
|
||||||
[ ! -e /config/plugins ] && ln -sf /config/data/plugins /config/plugins || true
|
[ ! -e /config/plugins ] && ln -sf /config/data/plugins /config/plugins || true
|
||||||
|
|
||||||
|
# Legacy compatibility for historical paths pointing to /var/lib/jellyfin
|
||||||
|
mkdir -p /config/legacy-jellyfin
|
||||||
|
ln -sfn /config/data/root /config/legacy-jellyfin/root
|
||||||
|
ln -sfn /config/metadata /config/legacy-jellyfin/metadata
|
||||||
|
ln -sfn /config/data/data /config/legacy-jellyfin/data
|
||||||
|
chmod 755 /config/legacy-jellyfin
|
||||||
|
chown -R 33:33 /config/legacy-jellyfin
|
||||||
|
|
||||||
chown -R 33:33 /config
|
chown -R 33:33 /config
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
@@ -125,11 +133,8 @@ spec:
|
|||||||
- name: dri
|
- name: dri
|
||||||
mountPath: /dev/dri
|
mountPath: /dev/dri
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /var/lib/jellyfin/root
|
mountPath: /var/lib/jellyfin
|
||||||
subPath: data/root
|
subPath: legacy-jellyfin
|
||||||
- name: config
|
|
||||||
mountPath: /var/lib/jellyfin/metadata
|
|
||||||
subPath: metadata
|
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /jellyfin/health
|
path: /jellyfin/health
|
||||||
|
|||||||
Reference in New Issue
Block a user