* Indentation.

svn path=/nixos/trunk/; revision=10757
This commit is contained in:
Eelco Dolstra 2008-02-19 16:52:08 +00:00
parent a2c20a9d29
commit 20881fe84b

View File

@ -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
"; '';
} }