2953c82001
Split out the host keygen into their own command, to ease future migration to systemd. Compatitbility with the init script was kept. Migrate the package to full native systemd unit files, according to the Fedora packaging guidelines. Prepate the unit files for running an ondemand server. (do not add it actually)
13 lines
201 B
Desktop File
13 lines
201 B
Desktop File
[Unit]
|
|
Description=SSH server keys generation.
|
|
After=syslog.target
|
|
Before=sshd.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/sbin/sshd-keygen
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|