Replies: 3 comments 8 replies
-
How can manual reloading be possible for a console App? |
Beta Was this translation helpful? Give feedback.
-
The wording implies manual reloading was at one point possible before v2.1.12, but I don't believe that to be the case. Assuming instead that this is a request for a new feature, the usual way to trigger a background service to reload configuration on a UNIX-like system is via a signal such as SIGHUP or SIGUSR1/2. I'm not sure how cross-platform that is off the top of my head though... |
Beta Was this translation helpful? Give feedback.
-
Apologies for my mistake, I had not examined the new code fully. I'm not currently in a position to test code changes, but it appears safe to move dnscrypt-proxy/dnscrypt-proxy/hot_reload.go Lines 103 to 104 in 2d099e2 plugins is populated. Then dnscrypt-proxy/dnscrypt-proxy/hot_reload.go Lines 13 to 22 in 2d099e2 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
With the latest version you can disable hot-reloading of configuration files, but this also prevents you from manually reloading them. Is this behavior intentional? I don’t think it should be as I don’t see any detrimental effects in having the possibility for manually reloading them always available.
Beta Was this translation helpful? Give feedback.
All reactions