Feature request: watch configuration file
Opened this issue · 1 comments
markk commented
Hi again,
A useful feature would be to monitor the configuration file with inotify and restart when changes are detected.
An alternative could be to catch a signal (perhaps SIGUSR1) to trigger re-reading the config file.
eras commented
It's possibly a bit more complex than just restarting, as it would probably be preferable not to disrupt connections that exist in both versions of the config file during the reload, while disconnecting connections that were removed from the config. But sure, doable :).