Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service does not restart with nftables #2

Open
keebs opened this issue Jan 25, 2024 · 2 comments
Open

Service does not restart with nftables #2

keebs opened this issue Jan 25, 2024 · 2 comments

Comments

@keebs
Copy link

keebs commented Jan 25, 2024

Suggestion/Question.... Shouldn't there be a dependency to restart after a nftables service restart? TY

@keebs
Copy link
Author

keebs commented Jan 25, 2024

Or a service reload that doesn't purge old records (Because they were already purged on nftables reload/restart. It just re-updates the DNS records.

@azlux
Copy link
Owner

azlux commented Jan 25, 2024

I suppose I need to add into the service:

  • Requires=nftables.service

https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#Requires=

I want to avoid keeping old values into the firewall if the service stop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants