Comment 3 for bug 1803212

Revision history for this message
Samuele Pedroni (pedronis) wrote :

We discussed this further also with the devs that did the original design/implementation of this.

We think a reasonable set of changes to the current behavior (we would need to explore whether anybody is seriously relying on the corner aspects of it before changing though) would be:

* snap stop SNAP should stop all the running services of the snap (this seems to match your ideas as well)

* snap restart SNAP would restart all the running services of the snap (even if disabled), that's different than your thoughts, so I would like to understand what you think about this variant? or whether there's deeper use case from your original thought?

this is a bigger change from current behavior because it means a failed service would not be restarted by this, one would need to use the specific service variant for that

* snap start SNAP would start all the enabled services of the snap, this seems to match your expectations as well