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 = { 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"; ExecStopPost="${pkgs.utillinux}/bin/umount ${stateDir}/dev/random";
}; };
}; };

View File

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