unbound: drop sbin directory
This commit is contained in:
parent
14e6b7aeb9
commit
7135553cf1
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -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"
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user