nmos-cpp icon indicating copy to clipboard operation
nmos-cpp copied to clipboard

Feature Request - For nmos-cpp-node and nmos-cpp-registry - Re-read configuration on SIGHUP?

Open rhastie opened this issue 6 years ago • 1 comments

Would it be possible for nmos-cpp-node and nmos-cpp-registry to re-read their configuration files on the process receiving a HUP signal? On configuration re-read JSON parameter changes could take effect without stopping and re-starting the process.

Ideally this would be in a similar way to how some daemons, including Apache and Sendmail, re-read configuration files upon receiving SIGHUP, specifically so the kill command may be used for this.

rhastie avatar Jan 10 '20 14:01 rhastie

Sensible feature request. We haven't done this, because changing some settings (e.g. port mapping, security config), basically requires a tear down of the whole app right now. If re-reading and just applying the settings which can be modified via the REST API is good enough, that can be done externally.

garethsb avatar Jan 10 '20 15:01 garethsb