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