Skip to content

Expose auxiliary units in StartTransientUnit #488

@gwenya

Description

@gwenya

The systemd dbus method StartTransientUnit takes a list of auxiliary units to start along with the main unit, this is used for things like starting a transient service with socket activation, by specifying the socket unit as the main unit and the service unit that is activated by it as an auxiliary unit.
The functions StartTransientUnit and StartTransientUnitContext on dbus.Conn in this package don't expose the auxiliary unit list and instead hardcode it to an empty list.

Would a PR to add this functionality be welcome? And if so, should it modify the existing StartTransientUnit and StartTransientUnitContext functions, or add a new function to keep backwards compatibility?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions