Skip to content

Systemd hook should just use socket #86474

Open
@rjernst

Description

@rjernst

The systemd hook currently uses jna to call the native sd_notify function. Internally this method just looks for the NOTIFY_SOCKET environment variable that systemd sets, and sends the string arguments to that socket.

We should reimplement our systemd hook to talk to the socket directly. That would simplify the implementation to not rely on jna, and make it easier to move the logic into the server cli once #85758 is merged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Core/Infra/CLICLI utilities, scripts, and infrastructureTeam:Core/InfraMeta label for core/infra team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions