Added deploydir to tomcat service

svn path=/nixos/trunk/; revision=10407
This commit is contained in:
Sander van der Burg 2008-01-30 14:38:27 +00:00
parent 92fffa1ee8
commit 406d3aafc5
2 changed files with 6 additions and 1 deletions

View file

@ -1050,6 +1050,11 @@
default = "nobody";
description = "User account under which Apache Tomcat runs.";
};
deployFrom = mkOption {
default = "";
description = "Location where webapplications are stored. Leave empty to use the baseDir.";
};
};
httpd = {

View file

@ -5,7 +5,7 @@ let
cfg = config.services.tomcat;
tomcatService = import ../services/tomcat {
inherit (pkgs) stdenv jdk tomcat6 su;
inherit (cfg) baseDir user;
inherit (cfg) baseDir user deployFrom;
};
in