0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

added example for extraJobs

svn path=/nixos/trunk/; revision=12572
This commit is contained in:
Marc Weber 2008-08-10 13:48:21 +00:00
parent 2eb6597bd3
commit 44134d90cb

View file

@ -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.
";