16 lines
541 B
SYSTEMD
16 lines
541 B
SYSTEMD
|
[Unit]
|
||
|
Description=OpenSSH server daemon
|
||
|
Before=anaconda.target
|
||
|
After=syslog.target network.target sshd-keygen.target
|
||
|
Wants=sshd-keygen.target
|
||
|
ConditionKernelCommandLine=|inst.sshd
|
||
|
ConditionKernelCommandLine=!inst.sshd=0
|
||
|
ConditionPathIsDirectory=|/sys/hypervisor/s390
|
||
|
|
||
|
[Service]
|
||
|
EnvironmentFile=-/etc/crypto-policies/back-ends/opensshserver.config
|
||
|
EnvironmentFile=-/etc/sysconfig/sshd
|
||
|
ExecStartPre=/usr/sbin/handle-sshpw
|
||
|
ExecStart=/usr/sbin/sshd -D $OPTIONS $CRYPTO_POLICY -f /etc/ssh/sshd_config.anaconda
|
||
|
ExecReload=/bin/kill -HUP $MAINPID
|