Load also the /etc/sysconfig/sshd before the sshd-keygen script.

This commit is contained in:
Tomas Mraz 2011-11-18 09:32:34 +01:00
parent c3b5d2ecc7
commit d06a7f2dbe

View File

@ -5,6 +5,7 @@ Before=sshd.service
[Service]
Type=oneshot
EnvironmentFile=/etc/sysconfig/sshd
ExecStart=/usr/sbin/sshd-keygen
RemainAfterExit=yes