#!/bin/bash # angie-upgrade - Upgrade all running Angie instances with zero downtime # Upgrade all running Angie instances by sending the USR2 signal to the # master process of each instance, then gracefully stopping the old master. # This allows for zero-downtime upgrades of Angie. # Last updated: 2026-10-18 TIMEOUT=10 wait_for_file() { # usage: wait_for_file