All state/data file paths in scripts and PHP now resolve via STATE_DIR / DATA_DIR / PERSISTENT_CONF_CACHE instead of hardcoded /boot/config/ or /tmp/ paths, so the ecosystem works in both internal and appdata storage modes. PHP layer (watchdog.php, partnership.php, fallback.php, monitor.php, snapshot.php, config.php): all state reads switched to STATE_DIR constant; remote state reads use the new vv_remote_state_cmd() helper which resolves the remote's SCRIPTS_DIR via their varaverk.cfg before building the path. conf_sync.sh: fixed SCRIPTS_ROOT → SCRIPTS_DIR bug on MY_CONF path; added _remote_scripts_dir() to resolve partner's SCRIPTS_DIR before SCP pull. fallback.php page: added controls card (PARTNERSHIP_ENABLED, FALLBACK_ENABLED, FALLBACK_RSYNC_ENABLED toggles), status grid, and settings card. README and Manual updated for System_Essentials, Watchdogs, Fallback, Rsync, Media, Monitors, Orchestrators, Partnership: added new scripts (conf_sync, conf_cache_save/restore, conf_cache_watchdog, play_state_sync, start_webhook_listener, upgrade_webhook_handler), corrected all stale /boot/config/ state file paths to $STATE_DIR/$DATA_DIR, noted webgui/php_fpm/mover/user_scripts scripts moved to Plugin/unraid/System_Essentials, fixed start_webhook_listener.sh header (Node.js, not PHP -S).
40 lines
1.5 KiB
Plaintext
40 lines
1.5 KiB
Plaintext
# ── Personal configuration — never push to public repo ────────────────────────
|
|
# These contain API keys, passwords, SSH paths, personal hostnames.
|
|
# Templates (*.template) are safe and remain tracked.
|
|
Configurations/host*.conf
|
|
Configurations/master.conf
|
|
Configurations/*.bak
|
|
.claude
|
|
.vscode
|
|
|
|
# ── Runtime state, data, logs ─────────────────────────────────────────────────
|
|
data/
|
|
State_Files/
|
|
.cache/
|
|
*.log
|
|
*.lock
|
|
|
|
# ── Plugin runtime state (per-host, never synced) ────────────────────────────
|
|
schedule.json
|
|
docker_folders.json
|
|
*.db
|
|
|
|
# ── Plugin config files (co-located with scripts on flash) ───────────────────
|
|
varaverk.cfg
|
|
varaverk.cron
|
|
varaverk-*.txz
|
|
|
|
# ── Build artifacts ───────────────────────────────────────────────────────────
|
|
# .txz packages are attached to GitHub releases, not committed to the repo.
|
|
Plugin/dist/
|
|
|
|
# ── Claude Code installation (lives alongside repo on flash, not source) ──────
|
|
claude-bin/
|
|
claude-data/
|
|
|
|
# ── OS / editor ───────────────────────────────────────────────────────────────
|
|
.DS_Store
|
|
*.swp
|
|
*~
|
|
.vscode/
|