I'm still experimenting with it, but I agree that we have to make it active by default. We have to use the directy sleep hack, because it there is time window between starting the dbus daemon process and when it is really active.
-----Original Message----- From: Ludovic Courtès [mailto:l...@gnu.org] Sent: Fri 4/3/2009 9:53 AM To: nix-dev@cs.uu.nl Cc: Sander van der Burg - EWI Subject: Re: [Nix-commits] SVN commit: nix - 14839 - sandervanderburg - in nixos/trunk: system upstart-jobs Hello! Sander van der Burg <s.vanderb...@tudelft.nl> writes: > + consolekit = { > + > + enable = mkOption { > + default = false; I think this kind of thing should be enabled by default if/when it works well. > + job = '' > + description "Console Kit Service" > + > + start on dbus > + stop on shutdown > + > + start script > + # !!! quick hack: wait until dbus has started > + sleep 3 > + end script Ouch! Isn't "start on dbus" supposed to handle this? Thanks, Ludo'.
_______________________________________________ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev