[Nix-dev] Re: [Nix-commits] SVN commit: nix - 15217 - MarcWeber - nixos/branches/modular-nixos/upstart-jobs

Ludovic Courtès ludo at gnu.org
Wed Apr 22 10:13:02 CEST 2009


Hello,

Marc Weber <marco-oweber at gmx.de> writes:

> You can view the changes in this commit at:
>    https://svn.nixos.org/viewvc/nix?rev=15217&view=rev
>
> Modified:
>    nixos/branches/modular-nixos/upstart-jobs/portmap.nix
>
> Log:
> don't run portmap as daemon
>
> if you do upstart can't know (yet) when it exits
>
> Changes:
>
> Modified: nixos/branches/modular-nixos/upstart-jobs/portmap.nix
> ===================================================================
> --- nixos/branches/modular-nixos/upstart-jobs/portmap.nix	2009-04-21 16:22:30 UTC (rev 15216)
> +++ nixos/branches/modular-nixos/upstart-jobs/portmap.nix	2009-04-21 16:25:37 UTC (rev 15217)
> @@ -78,7 +78,7 @@
>            start on network-interfaces/started
>            stop on network-interfaces/stop
>  
> -          respawn ${portmap}/sbin/portmap \
> +          respawn ${portmap}/sbin/portmap -f \

Hmm, when run as a deamon, Upstart considers it up and running as soon
as it forks in the background, which is correct I think.  It works fine
here.  Did you stumble upon a situation where it caused troubles?

Thanks,
Ludo'.



More information about the nix-dev mailing list