Added deploydir to tomcat service
svn path=/nixos/trunk/; revision=10407
This commit is contained in:
parent
92fffa1ee8
commit
406d3aafc5
@ -1050,6 +1050,11 @@
|
|||||||
default = "nobody";
|
default = "nobody";
|
||||||
description = "User account under which Apache Tomcat runs.";
|
description = "User account under which Apache Tomcat runs.";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
deployFrom = mkOption {
|
||||||
|
default = "";
|
||||||
|
description = "Location where webapplications are stored. Leave empty to use the baseDir.";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
httpd = {
|
httpd = {
|
||||||
|
@ -5,7 +5,7 @@ let
|
|||||||
cfg = config.services.tomcat;
|
cfg = config.services.tomcat;
|
||||||
tomcatService = import ../services/tomcat {
|
tomcatService = import ../services/tomcat {
|
||||||
inherit (pkgs) stdenv jdk tomcat6 su;
|
inherit (pkgs) stdenv jdk tomcat6 su;
|
||||||
inherit (cfg) baseDir user;
|
inherit (cfg) baseDir user deployFrom;
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user