* Upstart stupidly doesn't kill post-start scripts if we do "stop   JOB", but it does kill the job's main process.  So if the post-start   script if waiting for the job's main process to reach some state, it   may hang forever.  Thus, the post-start script should monitor   whether its job has been requested to stop and exit in that case.
* Upstart stupidly doesn't kill post-start scripts if we do "stop
  JOB", but it does kill the job's main process.  So if the post-start
  script if waiting for the job's main process to reach some state, it
  may hang forever.  Thus, the post-start script should monitor
  whether its job has been requested to stop and exit in that case.

svn path=/nixos/trunk/; revision=33176

NixOS/nixpkgs,triton/triton,NixOS/nixpkgs,SymbiFlow/nixpkgs,NixOS/nixpkgs,NixOS/nixos,SymbiFlow/nixpkgs,andreassalomonsson/nixos,NixOS/nixpkgs,NixOS/nixpkgs,SymbiFlow/nixpkgs,NixOS/nixpkgs,andreassalomonsson/nixos,SymbiFlow/nixpkgs,NixOS/nixpkgs,NixOS/nixos,NixOS/nixos,SymbiFlow/nixpkgs,triton/triton,SymbiFlow/nixpkgs,SymbiFlow/nixpkgs,NixOS/nixpkgs,SymbiFlow/nixpkgs,NixOS/nixpkgs,rbvermaa/nixos-svn,rbvermaa/nixos-svn,NixOS/nixos,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,edolstra/nixos,NixOS/nixpkgs,andreassalomonsson/nixos,edolstra/nixos,SymbiFlow/nixpkgs,triton/triton,andreassalomonsson/nixos,SymbiFlow/nixpkgs,edolstra/nixos,NixOS/nixpkgs,edolstra/nixos,SymbiFlow/nixpkgs,andreassalomonsson/nixos,rbvermaa/nixos-svn,triton/triton,SymbiFlow/nixpkgs,triton/triton,SymbiFlow/nixpkgs,triton/triton,NixOS/nixos,triton/triton,edolstra/nixos,NixOS/nixos,andreassalomonsson/nixos,rbvermaa/nixos-svn,triton/triton