Watchdogs/ folder + host conf rename
Move all watchdog scripts to a dedicated Watchdogs/ folder: Docker_Essentials/docker_watchdog.sh → Watchdogs/ unRAID_Essentials/system_watchdog.sh → Watchdogs/ unRAID_Essentials/resource_watchdog.sh → Watchdogs/ Orchestrators/watchdog_orchestrator.sh → Watchdogs/ Tools/watchdog_skip_list_manager.sh → Watchdogs/ Rename host config files: master_host1.conf → host1.conf master_host2.conf → host2.conf Update all references across the ecosystem: master.conf: WATCHDOG_ORCHESTRATOR_SCRIPTS paths → Watchdogs/ load_config.sh: host*.conf glob + all comments git_pull_execute.sh: sparse checkout glob + all comments Partnership/ssh_setup.sh: HOST_CONF path construction user_script_plug-in.sh: all script paths + per-host conf path common.sh, README.md, README-User_Script_Plug-in.md: comment refs All Partnership, Fallback, Monitors, Transcodes, Tools scripts: comment refs
This commit is contained in:
+10
-10
@@ -130,7 +130,7 @@ access key (for script repository pulls).
|
||||
### 3a — Rsync Automation Keys (ssh_setup.sh)
|
||||
|
||||
Run on **each server**. `ssh_setup.sh` generates the key, copies it to the remote,
|
||||
and updates `master_host*.conf` with the key path automatically.
|
||||
and updates `host*.conf` with the key path automatically.
|
||||
|
||||
```bash
|
||||
# On HOST1 — after the repo is cloned:
|
||||
@@ -146,7 +146,7 @@ unRAID-Gmer4Lfe → /root/.ssh/gmer4lfe_rsync_automation
|
||||
unRAID-Jayred365 → /root/.ssh/jayred365_rsync_automation
|
||||
```
|
||||
|
||||
`master_host*.conf` is updated automatically with `HOST*_SSH_KEY` pointing to the
|
||||
`host*.conf` is updated automatically with `HOST*_SSH_KEY` pointing to the
|
||||
generated key. Run `--status` to verify:
|
||||
|
||||
```bash
|
||||
@@ -188,8 +188,8 @@ find /mnt/user/appdata/unraid_scripts -name "*.sh" -exec chmod +x {} \;
|
||||
Expected structure after clone:
|
||||
```
|
||||
master.conf ← all shared configuration
|
||||
master_host1.conf ← HOST1-specific configuration
|
||||
master_host2.conf ← HOST2-specific configuration
|
||||
host1.conf ← HOST1-specific configuration
|
||||
host2.conf ← HOST2-specific configuration
|
||||
common.sh ← shared library
|
||||
load_config.sh ← config loader
|
||||
Orchestrators/
|
||||
@@ -232,7 +232,7 @@ SSH_PORT=221
|
||||
### Daily Sync Shares
|
||||
|
||||
```bash
|
||||
# master_host1.conf
|
||||
# host1.conf
|
||||
# Shares this server downloads to — pushed to the other server nightly.
|
||||
# arr_sync.sh runs before rsync in the daily window, so the receiving
|
||||
# server's arrs already track incoming files when they arrive.
|
||||
@@ -247,7 +247,7 @@ HOST1_DAILY_SYNC_SHARES=(
|
||||
"/mnt/user/stand-up_comedy"
|
||||
)
|
||||
|
||||
# master_host2.conf
|
||||
# host2.conf
|
||||
HOST2_DAILY_SYNC_SHARES=(
|
||||
"/mnt/user/Anime_Shows"
|
||||
"/mnt/user/Anime_Movies"
|
||||
@@ -274,8 +274,8 @@ to their unprefixed names. Scripts only ever reference the unprefixed name — t
|
||||
work identically on both servers.
|
||||
|
||||
```bash
|
||||
nano /mnt/user/appdata/unraid_scripts/master_host1.conf # on HOST1
|
||||
nano /mnt/user/appdata/unraid_scripts/master_host2.conf # on HOST2
|
||||
nano /mnt/user/appdata/unraid_scripts/host1.conf # on HOST1
|
||||
nano /mnt/user/appdata/unraid_scripts/host2.conf # on HOST2
|
||||
```
|
||||
|
||||
Every variable is documented in the conf files. Key values to set:
|
||||
@@ -413,7 +413,7 @@ zfs load-key poolname/Gmer4Lfe-Personal # prompts for passphrase
|
||||
zfs mount poolname/Gmer4Lfe-Personal
|
||||
```
|
||||
|
||||
### Add to master_host1.conf
|
||||
### Add to host1.conf
|
||||
|
||||
```bash
|
||||
HOST1_PERSONAL_SHARES=(
|
||||
@@ -662,7 +662,7 @@ declare -A PROFILE_EXCLUDE_DIRS
|
||||
declare -A PROFILE_REMOTE_RESTART_CONTAINERS
|
||||
```
|
||||
|
||||
### master_host*.conf
|
||||
### host*.conf
|
||||
|
||||
```bash
|
||||
# Daily sync shares — one list per server (mutually exclusive)
|
||||
|
||||
Reference in New Issue
Block a user