8000 [RFE]: replace pyinotify with watchdog · Issue #3984 · fail2ban/fail2ban · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[RFE]: replace pyinotify with watchdog #3984

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
UnitedMarsupials opened this issue Apr 6, 2025 · 0 comments
Open

[RFE]: replace pyinotify with watchdog #3984

UnitedMarsupials opened this issue Apr 6, 2025 · 0 comments

Comments

@UnitedMarsupials
Copy link

Description

The use of pyinotify is predicted on the inotify support, which is, largely, a Linux-only thing. The watchdog module would be preferable, because it supports other frameworks, such as BSD's kqueue.

Considered alternatives

Though there exists a wrapper around kqueue/kevent, that provides inotify-like API on BSD systems (indeed, that's used by the FreeBSD port of pyinotify), using a cross-platform module would be both more straightforward and allow using the more efficient file-watching on more operating systems (like Solaris).

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

No branches or pull requests

1 participant
0