-
-
Notifications
You must be signed in to change notification settings - Fork 245
Open
Description
Hello, I've been using Lapis inside a Docker container and it works just fine.
However I'm having trouble stopping and restarting the container because the signals are not passed to the nginx process.
The commands:
docker stop container_name docker restart container_name
Sends the signal TERM to the lapis process, however it does not forward the signal to the nginx process.
I see that I can do the following:
docker exec -ti container_name lapis signal 3
And it'll pass the signal 3 (QUIT) to the nginx and finish properly.
This way I can safely finish some code. Eg:
while not ngx.worker.exiting() do
Is there any reason for Lapis not forwaring all signals to nginx?
Metadata
Metadata
Assignees
Labels
No labels