Put every tmpfs path in one place both layers can read

This commit is contained in:
Gmer4Lfe
2026-08-08 22:57:29 -04:00
parent 0f92609425
commit d5c36db531
7 changed files with 119 additions and 23 deletions
+5 -1
View File
@@ -146,7 +146,11 @@ require_partnership
[[ "${CONF_SYNC_ENABLED:-true}" != "true" ]] && exit 0
[[ -z "${REMOTE_ID:-}" ]] && exit 0
RAM_CACHE="/tmp/.cache/vv/d"
# The exported variable, not a literal. This was hardcoded while load_config.sh already exported
# CONF_RAM_CACHE_DIR, so the watchdog would have gone on watching an empty directory the moment
# that path moved — and reported the cache healthy because nothing was ever missing from a
# location nothing writes to.
RAM_CACHE="$CONF_RAM_CACHE_DIR"
SAVE_DIR="${PERSISTENT_CONF_CACHE:-}"
# SAVE_DIR is rm -rf'd below and is built from ${SCRIPTS_DIR}. If that is ever unset the