5c8b5cb538
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)
11 lines
189 B
Desktop File
11 lines
189 B
Desktop File
[Unit]
|
|
Description=OpenSSH server daemon.
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
ExecStart=/usr/sbin/sshd -D
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|