turt2live / matrix-monitor-bot

A bot to measure latency between homeservers, as perceived by users.
Apache License 2.0
32 stars 5 forks source link

Allow the container to stop nicely by answer to Ctrl+C or docker-stop #2

Closed maxidorius closed 6 years ago

maxidorius commented 6 years ago

Because without exec, the bot process runs at PID 1 which has special behaviour on SIGTERM. This prevents Ctrl+C to work or makes Docker do a kill after stop did not work.