Petr Šabata 81d24c
[Unit]
Petr Šabata 81d24c
Description=OpenSSH %i Server Key Generation
Petr Šabata 81d24c
ConditionFileNotEmpty=|!/etc/ssh/ssh_host_%i_key
Petr Šabata 81d24c
Petr Šabata 81d24c
[Service]
Petr Šabata 81d24c
Type=oneshot
Petr Šabata 81d24c
EnvironmentFile=-/etc/sysconfig/sshd
Petr Šabata 81d24c
ExecStart=/usr/libexec/openssh/sshd-keygen %i
Petr Šabata 81d24c
Petr Šabata 81d24c
[Install]
Petr Šabata 81d24c
WantedBy=sshd-keygen.target