From 02c3fc72d8743d915d3f31697236396e87a16445 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Fri, 10 Aug 2007 18:52:35 +0000 Subject: [PATCH] Made ircd-hybrid wait gw6c coming up if it is enabled at all. svn path=/nixos/trunk/; revision=9096 --- upstart-jobs/ircd-hybrid.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/upstart-jobs/ircd-hybrid.nix b/upstart-jobs/ircd-hybrid.nix index 7de44f55db33..aa21d98bf282 100644 --- a/upstart-jobs/ircd-hybrid.nix +++ b/upstart-jobs/ircd-hybrid.nix @@ -4,7 +4,7 @@ let ircdService = import ../services/ircd-hybrid { stdenv = pkgs.stdenvNewSetupScript; inherit (pkgs) ircdHybrid coreutils - su; + su iproute; serverName = getCfg "serverName"; sid = getCfg "sid"; description = getCfg "description"; @@ -13,6 +13,7 @@ let adminEmail = getCfg "adminEmail"; extraIPs = getCfg "extraIPs"; extraPort = getCfg "extraPort"; + gw6cEnabled = config.get ["services" "gw6c" "enable"]; }; startingDependency = if (config.get [ "services" "gw6c" "enable" ])