Closed chanchiwai-ray closed 5 months ago
Wouldn't it be weird that you need to start or stop every service?
Normally, the services within the snap should work together, so start or stop all services isn't that bad. Also, in our case, it does not matter.
Thanks, this looks good, but merge conflicts need resolving first. :)
Rebased onto main
@chanchiwai-ray ah sorry, there is now a merge conflict :sweat_smile:
tested again, the new is_active
method works as expected
rebased
Remove
service_name
attribute and argument fromSnapService
, since snap'sstart
andstop
operation supports all services if the service name is not provided. Also, update theSnapService.is_active()
to accept a service name args, this will allow for checking the status of a particular service within the snap.Closes: #10