diff --git a/entrypoint.sh b/entrypoint.sh index e3d94ca..5d377fc 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -6,7 +6,7 @@ python generate_config.py && python pterodisbot.py & # Capture the application's process ID pid=$! -# Trap the SIGTERM signal and pass it through to the process upon stopping the container +# Trap the SIGTERM signal and pass it through to the process upon container receiving stop command trap "kill -TERM $pid" SIGTERM # Wait for process to complete