aedd00
[Unit]
aedd00
Description=OpenSSH server daemon
aedd00
Documentation=man:sshd(8) man:sshd_config(5)
aedd00
After=network.target sshd-keygen.target
aedd00
Wants=sshd-keygen.target
aedd00
aedd00
[Service]
aedd00
Type=notify
aedd00
EnvironmentFile=-/etc/crypto-policies/back-ends/opensshserver.config
aedd00
EnvironmentFile=-/etc/sysconfig/sshd
aedd00
ExecStart=/usr/sbin/sshd -D $OPTIONS $CRYPTO_POLICY
aedd00
ExecReload=/bin/kill -HUP $MAINPID
aedd00
KillMode=process
aedd00
Restart=on-failure
aedd00
RestartSec=42s
aedd00
aedd00
[Install]
aedd00
WantedBy=multi-user.target