sshd: Start after network target

This commit is contained in:
Dmitry Moskowski 2017-12-24 14:57:14 +00:00
parent ae03a11c86
commit ed26bc5931
No known key found for this signature in database
GPG key ID: 887A0D14C7C55BD6

View file

@ -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 =