* Upstart jobs: don't emit a description if there is none.
svn path=/nixos/trunk/; revision=32775
This commit is contained in:
parent
e11e9b4ef0
commit
8935db253c
@ -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.
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user