Move remainder container updates from weekly to monthly
Daily updates daily containers, weekly updates its sync-window containers, monthly now handles everything else via MONTHLY_MAINTENANCE_SCRIPTS.
This commit is contained in:
@@ -93,7 +93,7 @@
|
||||
# Enable or disable normal mode. docker_daily_restart.sh runs regardless.
|
||||
# (default: true)
|
||||
#
|
||||
# WEEKLY_REMAINING_UPDATES
|
||||
# MONTHLY_REMAINING_UPDATES
|
||||
# Enable or disable remainder mode. (default: true)
|
||||
#
|
||||
# PROFILE_CRITICAL_CONTAINER_NAMES[emby|critical-data]
|
||||
@@ -117,7 +117,7 @@
|
||||
# docker_update.sh --remainder
|
||||
# Remainder mode — pull all running containers not in managed lists,
|
||||
# restart those that received updates, prune dangling images
|
||||
# Called by weekly_sync_maintenance.sh at the end of the Sunday window
|
||||
# Called by monthly_maintenance.sh
|
||||
#
|
||||
# docker_update.sh --dry-run
|
||||
# Preview which containers would be pulled without making changes
|
||||
@@ -170,8 +170,8 @@ detect_hosts
|
||||
# ━━━ Container Discovery ━━━
|
||||
# ==============================================================================================
|
||||
if [[ "$REMAINDER_MODE" == true ]]; then
|
||||
if [[ "${WEEKLY_REMAINING_UPDATES:-true}" != "true" ]]; then
|
||||
echo "WEEKLY_REMAINING_UPDATES=false — skipping remainder container updates"
|
||||
if [[ "${MONTHLY_REMAINING_UPDATES:-true}" != "true" ]]; then
|
||||
echo "MONTHLY_REMAINING_UPDATES=false — skipping remainder container updates"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user