added example for extraJobs
svn path=/nixos/trunk/; revision=12572
This commit is contained in:
parent
2eb6597bd3
commit
44134d90cb
@ -623,6 +623,16 @@ in
|
||||
|
||||
extraJobs = mkOption {
|
||||
default = [];
|
||||
example = [
|
||||
{ name = "test-job";
|
||||
job = ''
|
||||
description "nc"
|
||||
start on started network-interfaces
|
||||
respawn
|
||||
env PATH=/var/run/current-system/sw/bin
|
||||
exec sh -c "echo "hello world" | ${pkgs.netcat}/bin/nc -l -p 9000
|
||||
'';
|
||||
} ];
|
||||
description = "
|
||||
Additional Upstart jobs.
|
||||
";
|
||||
|
Loading…
x
Reference in New Issue
Block a user