Revert "Revert "oran-shell-release: release image for F""
[pti/rtp.git] / meta-starlingx / meta-stx-integ / recipes-connectivity / openssh / files / stx / sshd-keygen.service
1 [Unit]
2 Description=OpenSSH Server Key Generation
3 ConditionFileNotEmpty=|!/etc/ssh/ssh_host_rsa_key
4 ConditionFileNotEmpty=|!/etc/ssh/ssh_host_ecdsa_key
5 ConditionFileNotEmpty=|!/etc/ssh/ssh_host_ed25519_key
6 PartOf=sshd.service sshd.socket
7
8 [Service]
9 ExecStart=/usr/sbin/sshd-keygen
10 Type=oneshot
11 RemainAfterExit=yes