2006-12-09 03:11:14 +00:00
|
|
|
{nix}:
|
|
|
|
|
|
|
|
{
|
|
|
|
name = "nix-daemon";
|
|
|
|
|
|
|
|
job = "
|
|
|
|
start on startup
|
|
|
|
stop on shutdown
|
2006-12-11 02:55:28 +00:00
|
|
|
script
|
|
|
|
export NIX_CONF_DIR=/nix/etc/nix
|
|
|
|
exec ${nix}/bin/nix-worker --daemon > /dev/null 2>&1
|
|
|
|
end script
|
2006-12-09 03:11:14 +00:00
|
|
|
";
|
|
|
|
|
|
|
|
}
|