Merge pull request #33035 from corpix/feature/ssh-systemd-deps

sshd: Start after network target
This commit is contained in:
Jörg Thalheim
2017-12-26 09:11:04 +01:00
committed by GitHub
@@ -248,13 +248,10 @@ in
let let
service = service =
{ description = "SSH Daemon"; { description = "SSH Daemon";
wantedBy = optional (!cfg.startWhenNeeded) "multi-user.target"; wantedBy = optional (!cfg.startWhenNeeded) "multi-user.target";
after = [ "network.target" ];
stopIfChanged = false; stopIfChanged = false;
path = [ cfgc.package pkgs.gawk ]; path = [ cfgc.package pkgs.gawk ];
environment.LD_LIBRARY_PATH = nssModulesPath; environment.LD_LIBRARY_PATH = nssModulesPath;
preStart = preStart =