358f62be8a
See anaconda pull request for discussion: https://github.com/rhinstaller/anaconda/pull/2042
20 lines
526 B
Desktop File
20 lines
526 B
Desktop File
[Unit]
|
|
Description=OpenSSH server daemon
|
|
Documentation=man:sshd(8) man:sshd_config(5)
|
|
After=network.target sshd-keygen.target
|
|
Wants=sshd-keygen.target
|
|
|
|
[Service]
|
|
Type=notify
|
|
EnvironmentFile=-/etc/crypto-policies/back-ends/opensshserver.config
|
|
EnvironmentFile=-/etc/sysconfig/sshd-permitrootlogin
|
|
EnvironmentFile=-/etc/sysconfig/sshd
|
|
ExecStart=/usr/sbin/sshd -D $OPTIONS $CRYPTO_POLICY $PERMITROOTLOGIN
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
KillMode=process
|
|
Restart=on-failure
|
|
RestartSec=42s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|