* 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.
|
# 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
|
${if isList job.startOn then
|
||||||
"start on ${concatStringsSep " or " job.startOn}"
|
"start on ${concatStringsSep " or " job.startOn}"
|
||||||
@ -144,7 +146,7 @@ let
|
|||||||
|
|
||||||
description = mkOption {
|
description = mkOption {
|
||||||
type = types.string;
|
type = types.string;
|
||||||
default = "(no description given)";
|
default = "";
|
||||||
description = ''
|
description = ''
|
||||||
A short description of this job.
|
A short description of this job.
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user