-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
event-broker: Disable inotify when no subscribers are available
When no subscribers are available, event-broker doesn't need to monitor the log file. This stops the monitoring when the last subscriber leaves and restart it upon a new subscriber being connected. This also adds handling of Ctrl-C to stop the deamon if it is not activated through systemd. Signed-off-by: Daiki Ueno <[email protected]>
- Loading branch information
Showing
5 changed files
with
246 additions
and
105 deletions.
There are no files selected for viewing
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
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.