Thanks Adrien. yes it is same issue. Could you please let me know how did you resolve this ? I was browsing through sytemd code and my theory is that by the time properties changed signal is being prepared to be sent, service has already gone through mutiple state changes or the unit is unloaded and hence no property changeg signal is sent out. As workaround , I am planning to watch on SubState instead of ActiveState in PropertiesChanged signal and also have ExecStopPost in service file. I have noticied that, when a service becomes inactive I always get SubState=stop-post (when i have ExecStopPost ).
Can anyone please comment if this is correct work-around ? Thanks On Wed, Jul 27, 2016 at 2:26 PM, Adrien Besnard <[email protected]> wrote: > I may be wrong, but it sounds like the issue I encoutered here: > https://github.com/systemd/systemd/issues/3390. I also wanted to build a > service monitoring tool :) > > Cheers, > -- > Adrien BESNARD > > 2016-07-26 11:24 GMT+02:00 Pradeepa Kumar <[email protected]>: > >> Hi >> ActiveState property with value "inactive"is not being sent out when >> service is killed by signal >> I am using 219 version. >> I logged issue https://github.com/systemd/systemd/issues/3807 >> Thanks >> >> >> >> _______________________________________________ >> systemd-devel mailing list >> [email protected] >> https://lists.freedesktop.org/mailman/listinfo/systemd-devel >> >> >
_______________________________________________ systemd-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/systemd-devel
