Commit 094d207
committed
init-plex-chown/run: use TMPDIR instead of hardcoded /run/plex-temp
Changes init-plex-chown/run to use TMPDIR instead of hardcoded /run/plex-temp
Plex uses TMPDIR to store transcodes of music to WAV format for music
analysis (and maybe other things).
LS.io container sets TMPDIR=/run/plex-temp. With read-only root this
means the /run tmpfs needs to have enough memory to store music analysis
transcodes.
LS.io container hardcoded /run/plex-temp in init so TMPDIR could not be
flexibly changed -- changed to use TMPDIR and clean on restart in case
of unclean shutdown.
Plex container is marked as supporting read-only root.1 parent 2186587 commit 094d207
2 files changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
| 374 | + | |
| 375 | + | |
374 | 376 | | |
375 | 377 | | |
376 | 378 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 | | |
6 | 10 | | |
7 | 11 | | |
| |||
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
43 | | - | |
| 47 | + | |
44 | 48 | | |
45 | 49 | | |
46 | 50 | | |
0 commit comments