Update on DeviceKit

Patryk Zawadzki patrys at pld-linux.org
Wed May 7 15:33:50 PDT 2008


On Thu, May 8, 2008 at 12:08 AM, David Zeuthen <david at fubar.dk> wrote:
> On Wed, 2008-05-07 at 21:29 +0200, Étienne Bersac wrote:
>  > Another issue : is it possible to launch the session wide service only
>  > if at least one scanner is up ?
>  Don't think so, not easily.
>
>  What we need is some kind of "reverse" activation meaning the ability to
>  run code when one or more well-defined events happen. I'm not exactly
>  sure where the best place for this is; it's something you need both in
>  the session (e.g. gnome-session) and in the system (e.g. init).

upstart solves this case allowing starting and stopping daemons using
event-based conditions. upstart is an init daemon with SystemV
compatibility emulation.

-- 
Patryk Zawadzki
PLD Linux Distribution


More information about the hal mailing list