git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #33035 from corpix/feature/ssh-systemd-deps

sshd: Start after network target

commitf1c236a987bc5d0a0de0bafc2d8e0e7556f45450 authorJörg Thalheim <Mic92@users.noreply.github.com> dateTue 26 Dec 2017, 09:11 (9 years ago) parent1c73610ed26bc5
1 file changed+1−4
nixos/modules/services/networking/ssh/sshd.nix+1−4
nixos/modules/services/networking/ssh/sshd.nix+1−4
@@ -248,13 +248,10 @@ in
248248 let
249249 service =
250250 { description = "SSH Daemon";
251−
252251 wantedBy = optional (!cfg.startWhenNeeded) "multi-user.target";
253−
252+ after = [ "network.target" ];
254253 stopIfChanged = false;
255−
256254 path = [ cfgc.package pkgs.gawk ];
257−
258255 environment.LD_LIBRARY_PATH = nssModulesPath;
259256
260257 preStart =