<div dir="ltr">Thanks <span style="font-size:12.8px;white-space:nowrap">Adrien.</span><div><span style="font-size:12.8px;white-space:nowrap">yes it is same issue.</span></div><div><span style="font-size:12.8px;white-space:nowrap">Could you please let me know how did you resolve this ?</span></div><div><span style="font-size:12.8px;white-space:nowrap">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.</span></div><div>As workaround , I am planning to watch on SubState instead of ActiveState in PropertiesChanged signal and also have ExecStopPost in service file.</div><div>I have noticied that, when a service becomes inactive  I always get SubState=stop-post (when i have ExecStopPost ).</div><div><br></div><div>Can anyone please comment if this is correct work-around ?</div><div><br></div><div>Thanks</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 27, 2016 at 2:26 PM, Adrien Besnard <span dir="ltr"><<a href="mailto:adrien.besnard@gmail.com" target="_blank">adrien.besnard@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>I may be wrong, but it sounds like the issue I encoutered here: <a href="https://github.com/systemd/systemd/issues/3390" target="_blank">https://github.com/systemd/systemd/issues/3390</a>. I also wanted to build a service monitoring tool :)<br><br></div>Cheers, <br></div><div class="gmail_extra">--<br clear="all"><div><div data-smartmail="gmail_signature"><div dir="ltr"><div>Adrien BESNARD</div></div></div></div>
<br><div class="gmail_quote"><div><div class="h5">2016-07-26 11:24 GMT+02:00 Pradeepa Kumar <span dir="ltr"><<a href="mailto:cdpradeepa@gmail.com" target="_blank">cdpradeepa@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Hi</div><div>ActiveState property with value "inactive"is not being sent out when service is killed by signal</div><div>I am using 219 version.</div><div>I logged issue <a href="https://github.com/systemd/systemd/issues/3807" target="_blank">https://github.com/systemd/systemd/issues/3807</a></div><div>Thanks</div><div><br></div><div><br></div></div>
<br></div></div>_______________________________________________<br>
systemd-devel mailing list<br>
<a href="mailto:systemd-devel@lists.freedesktop.org" target="_blank">systemd-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
<br></blockquote></div><br></div></div>
</blockquote></div><br></div>