mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-12-03 13:11:05 +00:00
A SIGTERM or SIGINT that arrived while start.sh slept before a restart was handled only after the sleep returned. The loop then launched artex again and waited on it without checking `stopping`, so docker stop waited out its grace period and SIGKILLed a freshly started server. Sleep in the background and wait on it, so the trap interrupts the backoff and forward() kills the sleep, and check for a pending stop before each launch. scripts/test-start-sh.sh drives start.sh with a fake artex and runs in the CI shell job. |
||
|---|---|---|
| .. | ||
| bot.yml | ||
| ci.yml | ||
| release.yml | ||