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 {
|
ircdService = import ../services/ircd-hybrid {
|
||||||
stdenv = pkgs.stdenvNewSetupScript;
|
stdenv = pkgs.stdenvNewSetupScript;
|
||||||
inherit (pkgs) ircdHybrid coreutils
|
inherit (pkgs) ircdHybrid coreutils
|
||||||
su;
|
su iproute;
|
||||||
serverName = getCfg "serverName";
|
serverName = getCfg "serverName";
|
||||||
sid = getCfg "sid";
|
sid = getCfg "sid";
|
||||||
description = getCfg "description";
|
description = getCfg "description";
|
||||||
@ -13,6 +13,7 @@ let
|
|||||||
adminEmail = getCfg "adminEmail";
|
adminEmail = getCfg "adminEmail";
|
||||||
extraIPs = getCfg "extraIPs";
|
extraIPs = getCfg "extraIPs";
|
||||||
extraPort = getCfg "extraPort";
|
extraPort = getCfg "extraPort";
|
||||||
|
gw6cEnabled = config.get ["services" "gw6c" "enable"];
|
||||||
};
|
};
|
||||||
|
|
||||||
startingDependency = if (config.get [ "services" "gw6c" "enable" ])
|
startingDependency = if (config.get [ "services" "gw6c" "enable" ])
|
||||||
|
Loading…
Reference in New Issue
Block a user