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

Remove rules when container stops #2

Open
kermix opened this issue May 12, 2024 · 2 comments
Open

Remove rules when container stops #2

kermix opened this issue May 12, 2024 · 2 comments

Comments

@kermix
Copy link
Contributor

kermix commented May 12, 2024

Hi @danielbodart
First of all, thanks for the great tool. It is beautiful in its simplicty. I'm not very fluent in bash, but I'm wondering is it possible to add a feature to remove a forward when server's container stops?

@danielbodart
Copy link
Owner

Yes definitely would like to support this feature and think it is possible, just need to work out the exact mechanism!

@seivan
Copy link

seivan commented Jun 17, 2024

@danielbodart Could store all the opened ones, and remove them on tear down, shouldn't be too tricky with SIGTERM

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

3 participants