Skip to content

limactl should use launchctl to start/stop instance if it's registered to start-at-login #4141

@norio-nomura

Description

@norio-nomura

Description

Even if the instance is registered in start-at-login, it is still possible to start/stop using limactl.

However, when limactl start/stop, the process is started/stopped directly regardless of whether the instance is registered in start-at-login.
The instance that is launched in this way will be out of the management of launchd and will remain activated regardless of the user's logout/login until it is under management again.

In order to keep the instance under the management of launchd, limactl start/stop should start/stop the instance registered in start-at-login via launchctl.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions