change / dutch-master

Graceful rolling restarts for Node.js socket servers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Handle SIGHUP

saponifi3d opened this issue · comments

Can we add the ability to handle SIGHUP as a rolling restart as well as SIGUSR2? SIGHUP seems to be a common(ish) way to handle rolling restarts.

Even better - could we allow the signal to be defined by the controlling process? That way it it would also allow for a rolling restart with whatever signal the container process wants