rutwa189 / rpms / openssh

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