* Indentation.
svn path=/nixos/trunk/; revision=10757
This commit is contained in:
parent
a2c20a9d29
commit
20881fe84b
@ -2,20 +2,22 @@ args: with args;
|
|||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
cfg = config.services.tomcat;
|
cfg = config.services.tomcat;
|
||||||
tomcatService = import ../services/tomcat {
|
|
||||||
inherit (pkgs) stdenv jdk tomcat6 su;
|
tomcatService = import ../services/tomcat {
|
||||||
inherit (cfg) baseDir user deployFrom;
|
inherit (pkgs) stdenv jdk tomcat6 su;
|
||||||
};
|
inherit (cfg) baseDir user deployFrom;
|
||||||
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
name = "tomcat";
|
name = "tomcat";
|
||||||
job = "
|
job = ''
|
||||||
description \"Apache Tomcat server\"
|
description "Apache Tomcat server"
|
||||||
|
|
||||||
stop on shutdown
|
stop on shutdown
|
||||||
|
|
||||||
respawn ${tomcatService}/bin/control start
|
respawn ${tomcatService}/bin/control start
|
||||||
";
|
'';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user