eclipse-iceoryx / iceoryx

Eclipse iceoryx™ - true zero-copy inter-process-communication
https://iceoryx.io
Apache License 2.0
1.65k stars 384 forks source link

Add systemd watchdog support for RouDi #2333

Closed khromenokroman closed 1 month ago

khromenokroman commented 1 month ago

Introduced systemd watchdog support, activating on INVOCATION_ID environment variable. This includes notifying systemd of readiness and sending periodic watchdog signals to ensure RouDi remains responsive. Linked systemd library in cmake for LINUX builds.

Notes for Reviewer

Pre-Review Checklist for the PR Author

  1. [ ] Code follows the coding style of CONTRIBUTING.md
  2. [ ] Tests follow the best practice for testing
  3. [ ] Changelog updated in the unreleased section including API breaking changes
  4. [ ] Branch follows the naming format (iox-123-this-is-a-branch)
  5. [ ] Commits messages are according to this guideline
  6. [ ] Update the PR title
    • Follow the same conventions as for commit messages
    • Link to the relevant issue
  7. [ ] Relevant issues are linked
  8. [ ] Add sensible notes for the reviewer
  9. [ ] All checks have passed (except task-list-completed)
  10. [ ] Assign PR to reviewer

Checklist for the PR Reviewer

Post-review Checklist for the PR Author

  1. [ ] All open points are addressed and tracked via issues

References

@elBoberido sorry if it turned out very badly, I still don't quite understand how your application works, but there is a suggestion to add a check, if the application was launched without using systemd, then everything will remain that way if not, then I will send a ready signal when I am ready to receive clients

this is a continuation based on your answer https://github.com/eclipse-iceoryx/iceoryx/issues/2330

are you interested in this functionality? I would really like it to be added, I need it :)