* The daemon needs OpenSSH to be in the PATH for signing/verifying.
svn path=/nixos/trunk/; revision=8025
This commit is contained in:
parent
ed36857d5e
commit
0ee31b29ef
@ -67,6 +67,7 @@ import ../upstart-jobs/gather.nix {
|
||||
# Nix daemon - required for multi-user Nix.
|
||||
(import ../upstart-jobs/nix-daemon.nix {
|
||||
inherit nix;
|
||||
inherit (pkgs) openssl;
|
||||
})
|
||||
|
||||
# Cron daemon.
|
||||
|
@ -1,4 +1,4 @@
|
||||
{nix}:
|
||||
{nix, openssl}:
|
||||
|
||||
{
|
||||
name = "nix-daemon";
|
||||
@ -7,7 +7,11 @@
|
||||
start on startup
|
||||
stop on shutdown
|
||||
env NIX_CONF_DIR=/nix/etc/nix
|
||||
respawn ${nix}/bin/nix-worker --daemon > /dev/null 2>&1
|
||||
respawn
|
||||
script
|
||||
export PATH=${openssl}/bin:$PATH
|
||||
exec ${nix}/bin/nix-worker --daemon > /dev/null 2>&1
|
||||
end script
|
||||
";
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user