<table cellspacing="0" cellpadding="0" border="0"><tr><td valign="top"><p dir="ltr">Thanks Lenart. Will give it a shot.</p>
</td></tr></table>            <div id="_origMsg_">
                <div>
                    <br />
                    <div>
                        <div style="font-size:0.9em">
                            <hr size="1">
                            <b>
                                <span style="font-weight:bold">From:</span>
                            </b>
                            Lennart Poettering <lennart@poettering.net>;                            <br>
                            <b>
                                <span style="font-weight:bold">To:</span>
                            </b>
                            Usman <desert03@yahoo.com>;                                                     <br>
                            <b>
                                <span style="font-weight:bold">Cc:</span>
                            </b>
                            systemd-devel@lists.freedesktop.org <systemd-devel@lists.freedesktop.org>;                                                                             <br>
                            <b>
                                <span style="font-weight:bold">Subject:</span>
                            </b>
                            Re: [systemd-devel] StartLimitAction Feature                            <br>
                            <b>
                                <span style="font-weight:bold">Sent:</span>
                            </b>
                            Mon, Mar 3, 2014 2:39:49 AM                            <br>
                        </div>
                            <br>
                            <table cellspacing="0" cellpadding="0" border="0">
                                <tbody>
                                    <tr>
                                        <td valign="top">On Sun, 02.03.14 18:00, Usman (<a shape="rect" ymailto="mailto:desert03@yahoo.com" href="javascript:return">desert03@yahoo.com</a>) wrote:<br clear="none"><br clear="none">> So actually i want to listen on dbus and somehow get a message when an<br clear="none">> application has restarted N number of times within time T and will not<br clear="none">> be started anymore. How do I differentiate this case from normal<br clear="none">> application Release message that I do get each time it restarts?<br clear="none"><br clear="none">Application "Release" message? what are you referring to? There is no<br clear="none">such thing.<br clear="none"><br clear="none">To watch the state of a unit, make sure to invoke Subscribe() on the<br clear="none">main manager object, and then simply watch standard PropertyChanged()<br clear="none">messages on that unit, and look for the
 "State" property.<div class="yqt7043035364" id="yqtfd57988"><br clear="none"><br clear="none">Lennart<br clear="none"><br clear="none">-- <br clear="none">Lennart Poettering, Red Hat<br clear="none"></div></td>
                                    </tr>
                                </tbody>
                            </table>
                    </div>
                </div>
            </div>