2007-02-22 18:04:18 +00:00
|
|
|
{nix, openssl}:
|
2006-12-09 03:11:14 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
name = "nix-daemon";
|
|
|
|
|
|
|
|
job = "
|
|
|
|
start on startup
|
|
|
|
stop on shutdown
|
2006-12-13 13:09:20 +00:00
|
|
|
env NIX_CONF_DIR=/nix/etc/nix
|
2007-02-22 18:04:18 +00:00
|
|
|
respawn
|
|
|
|
script
|
|
|
|
export PATH=${openssl}/bin:$PATH
|
|
|
|
exec ${nix}/bin/nix-worker --daemon > /dev/null 2>&1
|
|
|
|
end script
|
2006-12-09 03:11:14 +00:00
|
|
|
";
|
|
|
|
|
|
|
|
}
|