diff --git a/Notes_To-Do.md b/Notes_To-Do.md index a864359..db87e8e 100755 --- a/Notes_To-Do.md +++ b/Notes_To-Do.md @@ -1,9 +1,3 @@ -echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc -source ~/.bashrc -claude - - - need a script that check file locations. like if a kids movie is in movies. it needs to detect this and update the location in the arrs. so it would tell radarr to move shrek from movies to kids movies and trck the new file diff --git a/Orchestrators/README-Orchestrators.md b/Orchestrators/README-Orchestrators.md index 16ba8b6..ebb94f4 100644 --- a/Orchestrators/README-Orchestrators.md +++ b/Orchestrators/README-Orchestrators.md @@ -222,7 +222,6 @@ ARRAY_START_SCRIPTS=( # containers inherit limits at startup "Docker_Essentials/docker_network_connect.sh" # ensure networks + connections BEFORE # watchdogs check container states - "Tools/claude_startup.sh" # symlink Claude persistent storage on /boot # ── Continuous scripts — run until array stops ───────────────────────────── "Arrs_Stack/start_webhook_listener.sh" # start webhook listener before arrs POST events diff --git a/README.md b/README.md index 50b6d10..06468e8 100644 --- a/README.md +++ b/README.md @@ -593,7 +593,6 @@ Array start (Varaverk event hook): → php_fpm_max_children.sh WebGUI tuning before first request → inotify_tuning.sh raise kernel limits before containers start → docker_network_connect.sh connect containers to extra networks - → claude_startup.sh symlink Claude persistent storage (one-shot) → start_webhook_listener.sh continuous — Node.js webhook server for arr upgrades → fallback.sh continuous — mutual fallback state machine diff --git a/System_Essentials/Manual-System_Essentials.md b/System_Essentials/Manual-System_Essentials.md index 52ae892..26ae390 100644 --- a/System_Essentials/Manual-System_Essentials.md +++ b/System_Essentials/Manual-System_Essentials.md @@ -56,7 +56,6 @@ ARRAY_START_SCRIPTS=( "Plugin/unraid/System_Essentials/php_fpm_max_children.sh" # WebGUI tuning "System_Essentials/inotify_tuning.sh" # before docker_network_connect and continuous scripts "Docker_Essentials/docker_network_connect.sh" # ensure networks + container connections - "Tools/claude_startup.sh" # persist Claude data to appdata; re-symlink on boot "Arrs_Stack/start_webhook_listener.sh" # arr upgrade webhook — continuous "Fallback/fallback.sh" # mutual failover — continuous ) diff --git a/Tools/Manual-Tools.md b/Tools/Manual-Tools.md index a5d53a9..862289e 100644 --- a/Tools/Manual-Tools.md +++ b/Tools/Manual-Tools.md @@ -21,7 +21,6 @@ making any changes. - [smart_long_test.sh](#smart_long_testsh) - [arr_profile_enforcer.sh](#arr_profile_enforcersh) - [webhook_setup.sh](#webhook_setupsh) -- [claude_startup.sh](#claude_startupsh) - [ramdisk_stop.sh](#ramdisk_stopsh) - [Adding a New Tool](#adding-a-new-tool) @@ -666,41 +665,6 @@ webhook_setup.sh --dry-run --- -## claude_startup.sh - -Restores Claude Code's persistent data after an unRAID reboot and optionally launches -Claude. Standalone script — no common.sh dependency. - -### Why This Exists - -unRAID's root filesystem lives in RAM — `/root/.claude` and `/root/.local` are wiped on -every reboot. This script symlinks both directories back to persistent appdata storage -at `/mnt/user/appdata/claude-code/` before launching Claude. - -### First Run Migration - -On first run, if persistent storage is empty, the script migrates from current live locations: - -``` -/root/.claude → /mnt/user/appdata/claude-code/.claude -/root/.local/share/claude → /mnt/user/appdata/claude-code/local/share/claude -``` - -Subsequent runs skip the migration and only create the symlinks. - -### Calling from array_started.sh - -`array_started.sh` calls `claude_startup.sh` directly (no flags). This sets up the -symlinks only — no interactive session is launched. That is the default behavior. - -### Usage - -```bash -claude_startup.sh # set up persistent symlinks only (default — used by array_started.sh) -claude_startup.sh --launch # set up symlinks and launch Claude interactively -``` - ---- ## ramdisk_stop.sh diff --git a/Tools/README-Tools.md b/Tools/README-Tools.md index c437e3c..c5cbb97 100644 --- a/Tools/README-Tools.md +++ b/Tools/README-Tools.md @@ -69,7 +69,7 @@ something new, write the tool. Store it here. Find it at 2am next time. `bulk_permissions_repair.sh`, `arr_profile_enforcer.sh` **Lifecycle Tools** — Backup, setup, and migration support -`container_data_export.sh`, `claude_startup.sh`, `ramdisk_stop.sh`, `webhook_setup.sh` +`container_data_export.sh`, `ramdisk_stop.sh`, `webhook_setup.sh` **Library Sync Bootstrap** — Close the gap between Emby and arr libraries `emby_to_lidarr_sync.sh`, `emby_to_sonarr_sync.sh`, `emby_to_radarr_sync.sh` @@ -113,7 +113,6 @@ The relationship is one-way: Tools act on state that other scripts have written. | `emby_database_repair.sh` | Emby crashing with database errors after power loss or crash | When Emby logs show corruption or repeated crashes | | `zfs_pool_scrub.sh` | Verify ZFS pool integrity — catch silent corruption before it spreads | Monthly, or after any disk or power event | | `smart_long_test.sh` | Run SMART extended self-test on all drives — full sector scan | Monthly via monthly_maintenance.sh, or after any disk event | -| `claude_startup.sh` | Claude Code session setup after reboot — symlinks persistent storage | After each unRAID reboot, or called by array_started.sh | | `docker_prune_images.sh` | Remove dangling or unused Docker images accumulated after updates | After update cycles, or when disk space is low | | `ramdisk_stop.sh` | Safely stop the transcode ramdisk — redirect symlink to SSD, unmount, update state | Before re-running ramdisk_setup.sh with new size or thresholds | | `arr_profile_enforcer.sh` | Enforce correct quality profiles across all Sonarr/Radarr libraries | After arr setup, profile changes, or when library was imported with wrong profile | @@ -144,7 +143,6 @@ Situation arises │ smart_long_test ◄── monthly SMART scan / post-disk event │ │ arr_profile_enforcer ◄── wrong profiles after import or setup │ │ webhook_setup ◄── after install or adding a new arr │ -│ claude_startup ◄── after each unRAID reboot │ │ ramdisk_stop ◄── before ramdisk resize / remount │ │ │ │ emby_to_lidarr_sync ◄── Lidarr setup / database wipe / gap │