13.5 Snap Services
It is worth noting that some snap packages include their own services which run in the background when the package is installed (much like the systemd services described in the chapter entitled “Managing Ubuntu systemd Units”). To obtain a list of snap services that are currently running on a system, execute the snap command with the services option:
# snap services
Service Startup Current Notes
canonical-livepatch.canonical-livepatchd enabled active -
The above output indicated that the LivePatch snap service is currently enabled and active. To stop or stop a service the following snap commands can be used:
# snap start canonical-livepatch.canonical-livepatch
# snap stop canonical-livepatch.canonical-livepatch
Similarly the snap enable and disable options may to used to control whether or not a service starts automatically on system startup:
# snap enable canonical-livepatch.canonical...