3
0
Fork 0
forked from mirrors/nixpkgs

* Upstart jobs: don't emit a description if there is none.

svn path=/nixos/trunk/; revision=32775
This commit is contained in:
Eelco Dolstra 2012-03-04 16:17:56 +00:00
parent e11e9b4ef0
commit 8935db253c

View file

@ -25,7 +25,9 @@ let
''
# Upstart job `${job.name}'. This is a generated file. Do not edit.
description "${job.description}"
${optionalString (job.description != "") ''
description "${job.description}"
''}
${if isList job.startOn then
"start on ${concatStringsSep " or " job.startOn}"
@ -144,7 +146,7 @@ let
description = mkOption {
type = types.string;
default = "(no description given)";
default = "";
description = ''
A short description of this job.
'';