Skip to content

docs: Service management with craftctl? #5738

@farshidtz

Description

@farshidtz

"snapcraft.yaml - Snapcraft 8.11.2 documentation":

- The service is not automatically started. Instead, the service will be
started with `craftctl
<https://documentation.ubuntu.com/snapcraft/stable/how-to/crafting/customize-lifecycle-steps-and-part-variables>`_
and another management agent, which is most commonly a `hook
<https://documentation.ubuntu.com/snapcraft/stable/reference/hooks>`_.

"the service will be started with craftctl and another management agent, which is most commonly a hook"

The linked documentation doesn't explain this. How can craftctl be used to start a service? I was not able to get the command's usage (tried --help/-h/help).

Perhaps this meant to say: "the service can be started with snapctl, most commonly from hook" ?


Reported from: https://documentation.ubuntu.com/snapcraft/stable/reference/project-file/snapcraft-yaml/

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions