[Unit]
Description=OpenSSH server daemon
Wants=sshdgenkeys.service
After=sshdgenkeys.service
After=nss-user-lookup.target

[Service]
Type=notify-reload
Environment="SSHD_OPTS="
EnvironmentFile=-/etc/default/ssh
ExecStartPre=@BASE_BINDIR@/mkdir -p /var/run/sshd
ExecStart=-@SBINDIR@/sshd -D $SSHD_OPTS
KillMode=process
Restart=on-failure
RestartSec=42s

[Install]
WantedBy=multi-user.target
