openssh/SOURCES/sshd-keygen@.service

12 lines
247 B
SYSTEMD
Raw Permalink Normal View History

2019-08-02 21:51:44 +00:00
[Unit]
Description=OpenSSH %i Server Key Generation
ConditionFileNotEmpty=|!/etc/ssh/ssh_host_%i_key
[Service]
Type=oneshot
EnvironmentFile=-/etc/sysconfig/sshd
ExecStart=/usr/libexec/openssh/sshd-keygen %i
[Install]
WantedBy=sshd-keygen.target