check / check (push) Waiting to run
bin/entrypoint.sh was top-level code with one helper; the shell section of the code style guide asks for every step in a function and a main called at the end. The PORT and TRUSTED_PROXIES checks, the data directory, starting each process, the wait loop, stopping both and the exit are now functions, which main calls in order, setting the stop trap before either process starts. It stays POSIX sh with no set -e. Messages and exit codes are unchanged; the 8081 message is passed to echo as two arguments so its line fits in 80 columns. Model: opus-5-5