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

feat: Add support for systemd notify #1954

Merged
merged 5 commits into from
Jun 27, 2024

Commits on Jun 18, 2024

  1. feat: Add support for systemd notify

    - Integrated systemd notification support using github.com/coreos/go-systemd/v22/daemon.
    - Updated manager/runner.go to signal readiness to systemd.
    - Modified .golangci.yml to include github.com/coreos/go-systemd in linters-settings.
    - Updated dependencies in go.mod and go.sum for github.com/coreos/go-systemd/v22 v22.5.0.
    dyudin0821 committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    219f740 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. Configuration menu
    Copy the full SHA
    d5dc86e View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. feat: Add systemd readiness notification integration

    - Implemented a channel (`readyCh`) to signal application readiness to systemd
    - Ensured robust handling of readiness signaling with error logging
    dyudin0821 committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    d56853c View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. refactor(cli): refactor signal handling and context management in CLI

    - Introduced context management with cancellation in Run method.
    - Refactored signal handling to properly clean up and stop goroutines.
    - Added context cancellation to stop the readiness signaling to systemd.
    dyudin0821 committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    222ef7d View commit details
    Browse the repository at this point in the history
  2. refactor(cli): remove redundant context cancellation in signal handling

    - Removed redundant cancellation of context in signal handling.
    - Ensured consistency in context management throughout Run method.
    dyudin0821 committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    d461dd1 View commit details
    Browse the repository at this point in the history