Snapctl services -

I’m running:

snapctl services kilt.myservice
error: error running snapctl: cannot query services without a context

What am I doing wrong with my snap (snapcraft.yaml) ? In the docs, its not covering this at all…

The snapctl command is only intended to be run from within the snap sandbox. The error is saying that it doesn’t know which snap it is being run by.

If you want to get a list of services for your snap from the command line, try running snap services kilt (or whatever you snap is named).

1 Like