docs: fix service management to snapctl#5743
Open
Amanlem wants to merge 2 commits intocanonical:mainfrom
Open
Conversation
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>
Contributor
Author
|
Opened PR replacing craftctl with snapctl and correcting the link. |
jahn-junior
reviewed
Sep 3, 2025
snapcraft/models/project.py
Outdated
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. |
Contributor
There was a problem hiding this comment.
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.
Collaborator
There was a problem hiding this comment.
Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
bepri
approved these changes
Jan 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The snapcraft.yaml reference incorrectly suggested using
craftctlto start services.Runtime service management is done with
snapctl(often from hooks). Update text and link.Fixes #5738