nixpkgs/upstart-jobs/nix-daemon.nix
Eelco Dolstra f29c93830e * "set" -> "env".
svn path=/nixos/trunk/; revision=7333
2006-12-13 13:09:20 +00:00

14 lines
190 B
Nix

{nix}:
{
name = "nix-daemon";
job = "
start on startup
stop on shutdown
env NIX_CONF_DIR=/nix/etc/nix
respawn ${nix}/bin/nix-worker --daemon > /dev/null 2>&1
";
}