Made ircd-hybrid wait gw6c coming up if it is enabled at all.
svn path=/nixos/trunk/; revision=9096
This commit is contained in:
parent
05e9b29525
commit
02c3fc72d8
@ -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" ])
|
||||
|
Loading…
Reference in New Issue
Block a user