dist-clang
dist-clang copied to clipboard
Allow daemon to reload some configuration parts without restart
There should be an investigation about what parts of config are eligible for reload.
The reload should be performed on some signal, i.e. SIGHUP.
The other way to initialize reload - is 'inotify'ing the config file. But it's a linux-specific way. Need something for Mac too.
On Mac we can use kqueue with EVFILT_VNODE: http://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2