NixOS #146 (1 Nov)

By Eelco Dolstra

Get rid of gw6c dependency hacks

There are currently a bunch of Upstart jobs (e.g., Apache, Postfix, Bind) that have a startOn definition like

startingDependency = if config.services.gw6c.enable then "gw6c" else "network-interfaces";

...
startOn = "started ${startingDependency}";

That's ugly since it breaks abstraction. The proper Upstart way would be to have gw6c plug itself into network-interfaces' dependency chain, i.e., have it start on "starting network-interfaces" or something like that.

-- Issue on YellowGrass -- http://yellowgrass.org --

_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to