Comment 1 for bug 1803212

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

This is documented like that:

By default, all services for a specified snap will be restarted:

$ sudo snap restart lxd
Restarted.

it says all, no conditionals. I understand it might be undesired. OTOH what should snap stop <snap> do, stop everything or ignore the disabled services that were set to manually running? snap start <snap>?

(DWIM behavior can be confusing in its own ways.)

This needs a bit more thinking.