[Nix-dev] RE: [Nix-commits] SVN commit: nix - 14839 - sandervanderburg - in nixos/trunk: system upstart-jobs

Sander van der Burg - EWI S.vanderBurg at tudelft.nl
Fri Apr 3 13:43:27 CEST 2009


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:ludo at gnu.org]
Sent: Fri 4/3/2009 9:53 AM
To: nix-dev at 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.vanderBurg at 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'.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20090403/7e3347cc/attachment.html 


More information about the nix-dev mailing list