<div dir="ltr"><div><div><div>OFC one option is to get your service to send a DBus signal once it's up.<br></div>But that makes systemd irrelevant.<br><br></div>dbus-monitor is your friend; put it to run and start the service, grep the output to understand what's going on (which signals are emitted in particular).<br><br></div><div>Then once you are sure the signal is emitted, make sure you have the correct parameters to connect to it.<br><br></div><div>This should do it.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 28, 2016 at 1:09 PM, Michael Fuchs <span dir="ltr"><<a href="mailto:michfu@gmx.at" target="_blank">michfu@gmx.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">No, didn't help either.<br>
<br>
<a href="https://gist.github.com/fuchsmich/354af082fbc4577a4bf5" rel="noreferrer" target="_blank">https://gist.github.com/fuchsmich/354af082fbc4577a4bf5</a><br>
<br>
But thanks anyway.<div class="HOEnZb"><div class="h5"><br>
<br>
Am 27.01.2016 um 22:07 schrieb Ove Kåven:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Den 27. jan. 2016 17:03, skrev Michael Fuchs:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
There is a signal "PropertiesChanged" defined but it doesn't get<br>
emitted, when I start or stop the service.<br>
</blockquote>
<br>
<a href="http://www.freedesktop.org/wiki/Software/systemd/dbus/" rel="noreferrer" target="_blank">http://www.freedesktop.org/wiki/Software/systemd/dbus/</a><br>
<br>
You could see whether calling "Subscribe()" enables these signals for you.<br>
<br>
_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to<br>
<a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.sailfishos.org</a><br>
</blockquote>
_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.sailfishos.org</a><br>
</div></div></blockquote></div><br></div>