Skip to content

fix: support symlinks on runtime config reload #4205

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

simifalaye
Copy link

Fixes: #3992

Currently, the config auto-reload feature can't detect symlinks. Users may use symlinks with applications such as gnu-stow so config file auto-reload should detect these changes by default. I have changed the code to resolve the symlink if it is one and then watch that file instead.

@simifalaye
Copy link
Author

@imsnif

@Lockszmith-GH
Copy link

I guess you never read #3794

@simifalaye
Copy link
Author

@Lockszmith-GH No, I had not seen that. Thanks for letting me know, I'll keep that in mind for any future contributions to this project.

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

Successfully merging this pull request may close these issues.

Runtime Configuration not picked up when config.kdl is a symlink
2 participants