[Nix-dev] [NixOS/nixos] a5969: sshd: Do detach into thebackground

Eelco Dolstra eelco.dolstra at logicblox.com
Mon Oct 8 02:07:29 CEST 2012


Hi,

On 07/10/12 18:07, Nicolas Pierron wrote:

>> I guess Systemd lacks the means to say that "started" means "listening
>> on proper TCP port". And without this, sshd detaching is the only clear
>> point in time that allows to decide that it somehow started.
> 
> If I remember correctly, Systemd will create a listening socket before
> sshd starts and then sshd will flush the socket content.

We don't use socket-based activation for the sshd service yet... (would be nice
though).

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list