Replace restart with in-process config reload #29
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
keyop-go/nfq_forwarder#29
Loading…
Add table
Add a link
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?
Currently we rather awkwardly rely on using systemd to restart the process when we reload configuration after changes in the UI.
We should support a config reload option, which brings running configuration in line with the stored configuration, taking down any tunnels which are no longer defined and making sure that all firewall rules are cleaned up or created as needed.
This should be used in the UI reload options as well as being available via a signal (SIGHUP is traditional for this). The systemd unit can then also be updated to support the reload option.
changed the description