sshd.nix: Alternative fix for #19589
AFAICT, this issue only occurs when sshd is socket-activated. It turns out that the preStart script's stdout and stderr are connected to the socket, not just the main command's. So explicitly connect stderr to the journal and redirect stdout to stderr.
parent
4e79b0b0
Please register or sign in to comment