Hello,
I’m running pimatic on a PC, not a RaspberryPi, and I would like to get the status of a service (a init.d/* program); know whether it’s running or not, and to have contextualized buttons, so if the service is stopped, a “Start” button should be shown. If the service is running, two buttons should be shown: “Stop” or “Restart”.
Of course, the “service name” could be set by an entry config per device, so I could control each service I want.
Thanks for answers…