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