Hello.
I am trying to find a way to know the status of the systemd service from with in the snap . I can start/stop/restart the services for a snap using the snapctl command , Is there a way I could check the current status of the service similarly ?
Note, I also tried using the interfaces process-control, system-observe, daemon-notify hoping one of them would allow running systemctl is-active snap.my-snap.my-daemin but with out any success.
If it is not yet possible with snapctl , Is there a way I can run the systemctl commands from with in the snap ? Any particular interface I need to connect to?
just a heads up, the column selectors PR has triggered quite a bit of internal discussion, and is unlikely to land in its current form. ‘services’ one should still be fine (i need to find time to address the review feedback).