Relocate conf cache to more discrete paths
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#
|
||||
# PURPOSE
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# Snapshots the partner conf RAM cache to /boot/config/varaverk/conf_bak/ on
|
||||
# Snapshots the partner conf RAM cache to /boot/config/.cache/vv/d/ on
|
||||
# array stop. Survives reboot. Used by conf_cache_restore.sh at next array start
|
||||
# to reload partner vars into RAM when the partner is unreachable at boot time.
|
||||
#
|
||||
@@ -24,8 +24,8 @@ source "$SCRIPT_DIR/../load_config.sh"
|
||||
parse_args "$@"
|
||||
detect_hosts
|
||||
|
||||
RAM_CACHE="/tmp/.vv/config/cached/.confs"
|
||||
SAVE_DIR="/boot/config/varaverk/conf_bak"
|
||||
RAM_CACHE="/tmp/.cache/vv/d"
|
||||
SAVE_DIR="/boot/config/.cache/vv/d"
|
||||
|
||||
[[ "$DRY_RUN" == true ]] && warn "DRY RUN — no files will be written"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user