From 2aa158e869b452c97d8e280e322bf843614ee814 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Nov 18 2011 08:32:34 +0000 Subject: Load also the /etc/sysconfig/sshd before the sshd-keygen script. --- diff --git a/sshd-keygen.service b/sshd-keygen.service index bfef328..c4af598 100644 --- a/sshd-keygen.service +++ b/sshd-keygen.service @@ -5,6 +5,7 @@ Before=sshd.service [Service] Type=oneshot +EnvironmentFile=/etc/sysconfig/sshd ExecStart=/usr/sbin/sshd-keygen RemainAfterExit=yes