On 09/20/10 22:18, Pertti Kellomäki wrote:
Coming back to my original question, our daemons need an X session
before they can be started, so currently I install .desktop files in
/etc/xdg/autostart. This starts them at the correct point is time which
is pretty much all that is needed for normal usage, but in test scripts
we need to be able to stop and restart daemons. In harmattan we have
upstart to take care of the daemons, so we can use initctl in the
scripts. Does uxlaunch allow us to do something like this?
I'm currently implementing a 'restart' functionality which will do just
that - restart a program. There's an agressive but small ratelimit
algorithm and all of this code is functional in git. To force a restart,
just exit() your application and add the proper key/value pairs to the
.desktop file.
This feature was asked for by several people before, so I took the time
to implement it this week. Using it is basically as simple as adding:
X-MeeGo-Watchdog=restart
Auke
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev