dist-clang icon indicating copy to clipboard operation
dist-clang copied to clipboard

Allow daemon to reload some configuration parts without restart

Open abyss7 opened this issue 9 years ago • 2 comments

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.

abyss7 avatar Apr 29 '15 06:04 abyss7

The other way to initialize reload - is 'inotify'ing the config file. But it's a linux-specific way. Need something for Mac too.

abyss7 avatar Apr 29 '15 06:04 abyss7

On Mac we can use kqueue with EVFILT_VNODE: http://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2

abyss7 avatar May 14 '15 18:05 abyss7