lxd: pkg.lxd does not point to the binaries

`pkg.lxd.bin` does
This commit is contained in:
Zack Piper 2016-06-19 20:30:36 +01:00
parent bd1e99a5ed
commit f36c8f5f54

View File

@ -47,7 +47,7 @@ in
# TODO(wkennington): Add lvm2 and thin-provisioning-tools
path = with pkgs; [ acl rsync gnutar xz btrfs-progs ];
serviceConfig.ExecStart = "@${pkgs.lxd}/bin/lxd lxd --syslog --group lxd";
serviceConfig.ExecStart = "@${pkgs.lxd.bin}/bin/lxd lxd --syslog --group lxd";
serviceConfig.Type = "simple";
serviceConfig.KillMode = "process"; # when stopping, leave the containers alone
};