Skip to content

Commit

Permalink
move /var/cache/fontconfig to tmpfs to save write cycles
Browse files Browse the repository at this point in the history
  • Loading branch information
kx1t committed Feb 4, 2024
1 parent 8198bab commit fc144c6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rootfs/etc/s6-overlay/scripts/04-tar1090-configure
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@

source /scripts/common

# create symlink so /var/cache/fontconfig is in tmpfs
# as per Wiedehopf - https://discord.com/channels/734090820684349521/1102603003376177172/1203826726023729162
# shellcheck disable=SC2174
mkdir -p -m 777 /run/cache/fontconfig
rm -rf /var/cache/fontconfig
ln -sf /run/cache/fontconfig /var/cache/fontconfig

if chk_enabled "${READSB_ENABLE_API}"; then
# shellcheck disable=SC2016
sed -i -e 's|#sed_placeholder_API_proxy|location /re-api/ {\
Expand Down

0 comments on commit fc144c6

Please sign in to comment.