davidmarkclements / 0x

🔥 single-command flamegraph profiling 🔥
MIT License
3.21k stars 103 forks source link

Adding the SIGTERM to soft exit #250

Closed arthurguedes375 closed 2 years ago

arthurguedes375 commented 2 years ago

When I was using docker-compose I could not generate the flame-graph because the default signal sent by docker-compose is SIGTERM, there are ways to send SIGINT instead of SIGTERM but that adds more complexity to the docker-compose file, and since SIGTERM is not a force exit signal I think that it should be handled the same way that SIGINT is.