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.
Submitted by Eelco Dolstra on 1 November 2011 at 14:39
Log in to post comments