Replace restart with in-process config reload #29

Open
opened 2026-07-07 13:16:34 +01:00 by danny · 1 comment
danny commented 2026-07-07 13:16:34 +01:00 (Migrated from gitlab.keyop.co.uk)

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.

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.
danny commented 2026-07-07 13:18:39 +01:00 (Migrated from gitlab.keyop.co.uk)

changed the description

changed the description
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
keyop-go/nfq_forwarder#29
No description provided.