Feature: Hot-reloading of config file #2
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: stephenseo/c_simple_http#2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There is a way (on Unix at least) to "listen" on a file for changes. This should be a feature enabled by an optional flag so that the config can be "hot-reloaded" during runtime.
Also, perhaps
SIGUSR1
can be utilized to force reload the config file as well.