Complete the header template across Partnership, Kernel, Deployment and Plugin

Finishes the pass: every script now documents its safeguards, and the deliberate absences
in the sourced libraries are recorded so they are not "corrected" later.
This commit is contained in:
Gmer4Lfe
2026-08-01 22:44:23 -04:00
parent 5c4f8db497
commit c377ddfcca
24 changed files with 1237 additions and 32 deletions
@@ -29,6 +29,28 @@
# used as a last resort and may leave a file split across cache and array.
#
# ==============================================================================================
# DESIGN PRINCIPLES
# ==============================================================================================
#
# Warn the Room First
# A wall message goes out before the mover is signalled. The mover moves other people's
# data between cache and array; anyone watching a transfer deserves to know why it stopped.
#
# Graceful First, Forced Last
# SIGTERM with a configurable window, then SIGKILL only if it is ignored. The mover is
# mid-file-move by definition — giving it the chance to finish the current file and exit
# cleanly is the difference between a stopped transfer and a half-moved file.
#
# Not Running Is Success
# An absent mover exits 0. Callers use this as a precondition ("ensure the mover is not
# running"), not as a command that must find something to kill — treating "already stopped"
# as failure would abort every reboot on a quiet system.
#
# Stop, Never Start
# This script has no counterpart that restarts the mover. Unraid's own schedule owns when
# the mover runs; this only ever removes it from the picture for a window.
#
# ==============================================================================================
# OPERATIONAL SAFEGUARDS
# ==============================================================================================
#