Re: upstart and dbus

2010-05-13 Thread Graham Cobb
On Thursday 13 May 2010 11:40:24 b0unc3 wrote: > I found that if I use : > start on started hildon-desktop > > as starting condition, I don't need to put the pre-start script You are probably right. If hildon-desktop has started, users could be running apps so everything must be set up correctl

Re: upstart and dbus

2010-05-13 Thread b0unc3
On Thu, May 13, 2010 at 11:33 AM, Graham Cobb > wrote: > On Thursday 13 May 2010 00:27:21 Faheem Pervez wrote: > > On 5/13/10, Graham Cobb > wrote: > > > Faheem, what were you using as the start condition for your upstart > > > script? I > > > would have assumed that if it were anything after "st

Re: upstart and dbus

2010-05-13 Thread Graham Cobb
On Thursday 13 May 2010 00:27:21 Faheem Pervez wrote: > On 5/13/10, Graham Cobb wrote: > > Faheem, what were you using as the start condition for your upstart > > script? I > > would have assumed that if it were anything after "start on started dbus" > > then the waitdbus would be unnecessary. >

Re: upstart and dbus

2010-05-12 Thread Faheem Pervez
On 5/13/10, Graham Cobb wrote: > Faheem, what were you using as the start condition for your upstart script? > I > would have assumed that if it were anything after "start on started dbus" > then the waitdbus would be unnecessary. In particular, I normally use > > start on XSESSIONS_STARTING > >

Re: upstart and dbus

2010-05-12 Thread Graham Cobb
On Wednesday 12 May 2010 23:07:47 Faheem Pervez wrote: > If you do use run-standalone.sh in an Upstart script, please be aware > of https://bugs.maemo.org/show_bug.cgi?id=8148. Lucas Maneos' > awesomeness helped me to fix my issue. Interesting. For others (who don't want to read through 37 commen

Re: upstart and dbus

2010-05-12 Thread b0unc3
Using run-standalone.sh everything works as expected. Thanks to all! On Thu, May 13, 2010 at 12:07 AM, Faheem Pervez wrote: > If you do use run-standalone.sh in an Upstart script, please be aware > of https://bugs.maemo.org/show_bug.cgi?id=8148. Lucas Maneos' > awesomeness helped me to fix my is

Re: upstart and dbus

2010-05-12 Thread Faheem Pervez
If you do use run-standalone.sh in an Upstart script, please be aware of https://bugs.maemo.org/show_bug.cgi?id=8148. Lucas Maneos' awesomeness helped me to fix my issue. On 5/12/10, Graham Cobb wrote: > On Wednesday 12 May 2010 21:50:31 Ram Kurvakat wrote: >> I cant provide a full solution now b

Re: upstart and dbus

2010-05-12 Thread Graham Cobb
On Wednesday 12 May 2010 21:50:31 Ram Kurvakat wrote: > I cant provide a full solution now but to use the session bus you will need > the session bus address I think which changes every restart. Are you doing > that in your upstart script already ? ( setting the dbus session address > something lik

Re: upstart and dbus

2010-05-12 Thread Ram Kurvakat
- Original Message - From: b0unc3 Sent: 05/12/10 08:52 PM To: maemo-developers Subject: upstart and dbus Hello, I've wrote a little daemon that basically listen on DBus for some events and now I want to automatically start it through upstart. But, upstart doesn't like my app :( I disco

upstart and dbus

2010-05-12 Thread b0unc3
Hello, I've wrote a little daemon that basically listen on DBus for some events and now I want to automatically start it through upstart. But, upstart doesn't like my app :( I discovered that if I use a DBUS_BUS_SYSTEM for the DBusConnection, everything works fine. Instead, if I use a DBUS_BUS_SES