ssh module: ignore exit code when socket activated

sshd will at times fail when exiting. When socket activated, this will
leave a number of sshd@ service instances in the failed state, so we
simply ignore the error code if we are running socket activated.

Recommended by upstream:
http://systemd-devel.freedesktop.narkive.com/d0eapMCG/socket-activated-sshd-service-showing-up-as-a-failure-when-the-client-connection-fails

Fixes: #3279

+1
+1
nixos/modules/services/networking/ssh/sshd.nix
··· 263 263 264 264 serviceConfig = 265 265 { ExecStart = 266 + (optionalString cfg.startWhenNeeded "-") + 266 267 "${cfgc.package}/bin/sshd " + (optionalString cfg.startWhenNeeded "-i ") + 267 268 "-f ${pkgs.writeText "sshd_config" cfg.extraConfig}"; 268 269 KillMode = "process";