Re: [systemd-devel] How to get notified on service state change

2015-10-11 Thread Pradeepa Kumar
2nd try.. On Fri, Oct 9, 2015 at 6:52 AM, Pradeepa Kumar wrote: > Hi systemd-experts, > > I am writing a daemon which starts, stops and monitor services and I am > using dbus to interface with systemd. I send messages on dbus to start or > stop the service and this is

[systemd-devel] How to get notified on service state change

2015-10-08 Thread Pradeepa Kumar
Hi systemd-experts, I am writing a daemon which starts, stops and monitor services and I am using dbus to interface with systemd. I send messages on dbus to start or stop the service and this is working well. I want to achieve the following: 1) Monitor service exit using the systemd dbus