could apply file change very soon
we want to add users on the fly without restarting. For now , we try to modify config.yml to add users item . But chproxy need restart to apply configuration changes. Chproxy Users will lose their connection if we restart , so it looks like a bad option
At the same time , if we modify the configuration in ClickHouse, it will apply without restarting.
Could we have this feature in chproxy, thanks
https://github.com/Vertamedia/chproxy/blob/master/main.go#L56
find the nofity code . close
chproxy use SIGHUP to reload config file
ps -ef | grep chproxy | grep -v grep | awk '{print $2}' will get the pid of chproxy
kill -1 pid trigger reload