Skip to content

Conversation

@Amanlem
Copy link
Contributor

@Amanlem Amanlem commented Sep 3, 2025

The snapcraft.yaml reference incorrectly suggested using craftctl to start services.
Runtime service management is done with snapctl (often from hooks). Update text and link.

Fixes #5738

The snapcraft.yaml reference incorrectly suggested using `craftctl` to start services.
Runtime service management is done with `snapctl` (often from hooks). Update text and link.

Fixes canonical#5738

Signed-off-by: Amanuel Lemma Dessalegn <[email protected]>
@Amanlem Amanlem requested a review from mr-cal as a code owner September 3, 2025 05:20
@Amanlem
Copy link
Contributor Author

Amanlem commented Sep 3, 2025

Opened PR replacing craftctl with snapctl and correcting the link.

Copy link
Collaborator

@mr-cal mr-cal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Comment on lines +814 to +817
- The service is not automatically started. Instead, the service can be
started with `snapctl <https://snapcraft.io/docs/using-snapctl>`_
(most commonly from a `hook <https://documentation.ubuntu.com/snapcraft/stable/reference/hooks/>`_)
or another management agent.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- The service is not automatically started. Instead, the service can be
started with `snapctl <https://snapcraft.io/docs/using-snapctl>`_
(most commonly from a `hook <https://documentation.ubuntu.com/snapcraft/stable/reference/hooks/>`_)
or another management agent.
- The service is not automatically started. Instead, the service can be
started with `snapctl <https://snapcraft.io/docs/using-snapctl>`_
and another management agent, most commonly a `hook
<https://documentation.ubuntu.com/snapcraft/stable/reference/hooks>`_.

Thanks for catching this!

My only request is that we clean up the parenthetical clause a bit.

@jahn-junior jahn-junior removed the request for review from medubelko September 3, 2025 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: Service management with craftctl?

3 participants