Just downloaded [v1.1.2](https://github.com/glauth/glauth/releases/tag/v1.1.2) and tried with a config file containing: ```cfg watchconfig = true [backend] datastore = "config" baseDN = "dc=glauth,dc=com" ``` When editing and saving the config file (e.g. adding a user), nothing happens. Actually, GLAuth should reload the config file as defined in the [code](https://github.com/glauth/glauth/blob/master/glauth.go#L150).
Activity
fanlix commentedon Jul 21, 2021
v1.1.2 reload not works. ubuntu 20.04.2
fanlix commentedon Jul 21, 2021
figure this out, it's fsnotify lib & vim/editor/fs problem. origin issue: fsnotify/fsnotify#17
echo xxx > xx.cfgcp xx.cfg xx.cfgworksvim xx.cfg, use:wto save, not works.my debug log with vim edit config
easy answer
./glauth -c config.cfgvim config.cfg.editcp config.cfg.edit config.cfgor, we can watch the folder for rm/new/rename events.... ?
Fusion commentedon Jul 26, 2021
Merged in.