unbound: drop sbin directory

This commit is contained in:
Marius Bakke 2016-03-06 12:50:41 +00:00
parent 14e6b7aeb9
commit 7135553cf1
2 changed files with 2 additions and 1 deletions

View file

@ -113,7 +113,7 @@ in
'';
serviceConfig = {
ExecStart = "${pkgs.unbound}/sbin/unbound -d -c ${stateDir}/unbound.conf";
ExecStart = "${pkgs.unbound}/bin/unbound -d -c ${stateDir}/unbound.conf";
ExecStopPost="${pkgs.utillinux}/bin/umount ${stateDir}/dev/random";
};
};

View file

@ -17,6 +17,7 @@ stdenv.mkDerivation rec {
"--with-libevent=${libevent}"
"--localstatedir=/var"
"--sysconfdir=/etc"
"--sbindir=\${out}/bin"
"--enable-pie"
"--enable-relro-now"
];