Skip to content

Native systemd socket support for quadlet #28399

@contrun

Description

@contrun

Feature request description

I want to socket activate a container (caddy) so that I don't have much system overhead if the container is not used.

Suggest potential solution

Currently I think we need to manually create a .socket file for systemd in order for systemd to activate the quadlet service. It would be nice if quadlet natively support a [Socket] section and generate the systemd socket file.

Have you considered any alternatives?

I tried to manually create a systemd socket file. Just as quadlet systemd service generator is a life quality improvement. I hope that we can have quadlet systemd socket generator.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions