rcolebaugh / rpms / openssh

Forked from rpms/openssh 2 years ago
Clone
b58e57
[Unit]
b58e57
Description=OpenSSH Server Key Generation
b58e57
ConditionFileNotEmpty=|!/etc/ssh/ssh_host_rsa_key
b58e57
ConditionFileNotEmpty=|!/etc/ssh/ssh_host_ecdsa_key
b58e57
ConditionFileNotEmpty=|!/etc/ssh/ssh_host_ed25519_key
b58e57
PartOf=sshd.service sshd.socket
b58e57
b58e57
[Service]
b58e57
ExecStart=/usr/sbin/sshd-keygen
b58e57
Type=oneshot
b58e57
RemainAfterExit=yes