[openssh] Systemd compatibility according to Mathieu Bridon <bochecha at fedoraproject.org> Split out the host ke

Jan F. Chadima jfch2222 at fedoraproject.org
Tue Jun 28 10:37:54 UTC 2011


commit 2953c82001808db0056c4e014c20090c22121dc8
Author: Jan F <jfch at zwingli.jagda.eu>
Date:   Tue Jun 28 12:37:13 2011 +0200

    Systemd compatibility according to Mathieu Bridon <bochecha at fedoraproject.org>
    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)

 sshd-keygen.service |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/sshd-keygen.service b/sshd-keygen.service
new file mode 100644
index 0000000..bfef328
--- /dev/null
+++ b/sshd-keygen.service
@@ -0,0 +1,12 @@
+[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


More information about the scm-commits mailing list