cooling-singapore / saas-middleware

Simulation-as-a-Service (SaaS) Middleware
MIT License
0 stars 0 forks source link

Allow node services to listen to SIGTERM signals #398

Closed reyery closed 1 year ago

reyery commented 1 year ago

Description Node services might not respond to service signals and take a while to stop. Responding to signals would allow us to do cleanup as well.

reyery commented 1 year ago

saas-nodes seem to handle KeyboardInterrupt (i.e. Ctrl-C) but not explicitly the SIGTERM signal.