forked from cilium/cilium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
datapath: Reload
systemd-sysctl
after changing config
This commit adds logic which triggers the `systemd-sysctl` unit to reload the config and apply it. This is necessary for any existing network interfaces. To avoid runtime dependencies on the `systemctl` command we trigger the reload of the unit directly via the D-bus. The tool is now idempotent, it only updates the config file it doesn't match the desired state, and only triggers a systemd unit reload if the config changed. Signed-off-by: Dylan Reimerink <dylan.reimerink@isovalent.com>
- Loading branch information
1 parent
6432558
commit b303543
Showing
52 changed files
with
8,406 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.