10 lines
228 B
SYSTEMD
10 lines
228 B
SYSTEMD
|
[Unit]
|
||
|
Description=OpenSSH %i Server Key Generation
|
||
|
ConditionFileNotEmpty=|!/etc/ssh/ssh_host_%i_key
|
||
|
Before=sshd.service
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
EnvironmentFile=-/etc/sysconfig/sshd
|
||
|
ExecStart=/usr/libexec/openssh/sshd-keygen %i
|