3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/upstart-jobs/nix-daemon.nix

16 lines
220 B
Nix
Raw Normal View History

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