Put every tmpfs path in one place both layers can read
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user