Skip to content

docs: fix service management to snapctl#5743

Open
Amanlem wants to merge 2 commits intocanonical:mainfrom
Amanlem:patch-1
Open

docs: fix service management to snapctl#5743
Amanlem wants to merge 2 commits intocanonical:mainfrom
Amanlem:patch-1

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 <amanlem24@gmail.com>
@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.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@jahn-junior jahn-junior removed the request for review from medubelko September 3, 2025 18:04
Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
@mr-cal mr-cal requested a review from bepri as a code owner January 22, 2026 17:54
@mr-cal mr-cal changed the title docs: correct service management to snapctl (Fixes #5738) docs: fix service management to snapctl Jan 22, 2026
@mr-cal mr-cal requested a review from jahn-junior January 22, 2026 17:59
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?

4 participants