First commit. Everything working as intended.

This commit is contained in:
2022-11-17 20:58:22 +08:00
commit e47266f5bd
4 changed files with 38 additions and 0 deletions

10
scripts/entrypoint.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -x
term_handler() {
exit 143; # 128 + 15 -- SIGTERM
}
trap 'kill ${!}; term_handler' SIGTERM
tail -f /dev/null & wait ${!}