parent
0bf8a1a86d
commit
bb39304ce6
@ -263,7 +263,7 @@ in
|
|||||||
|
|
||||||
serviceConfig =
|
serviceConfig =
|
||||||
{ ExecStart =
|
{ ExecStart =
|
||||||
"${cfgc.package}/sbin/sshd " + (optionalString cfg.startWhenNeeded "-i ") +
|
"${cfgc.package}/bin/sshd " + (optionalString cfg.startWhenNeeded "-i ") +
|
||||||
"-f ${pkgs.writeText "sshd_config" cfg.extraConfig}";
|
"-f ${pkgs.writeText "sshd_config" cfg.extraConfig}";
|
||||||
KillMode = "process";
|
KillMode = "process";
|
||||||
} // (if cfg.startWhenNeeded then {
|
} // (if cfg.startWhenNeeded then {
|
||||||
|
@ -46,6 +46,7 @@ stdenv.mkDerivation rec {
|
|||||||
# I set --disable-strip because later we strip anyway. And it fails to strip
|
# I set --disable-strip because later we strip anyway. And it fails to strip
|
||||||
# properly when cross building.
|
# properly when cross building.
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
"--sbindir=\${out}/bin"
|
||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
"--with-pid-dir=/run"
|
"--with-pid-dir=/run"
|
||||||
"--with-mantype=man"
|
"--with-mantype=man"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user