First commit. Everything working as intended.
This commit is contained in:
10
scripts/entrypoint.sh
Executable file
10
scripts/entrypoint.sh
Executable 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 ${!}
|
||||
Reference in New Issue
Block a user