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 81da99ed9b
commit 2aa158e869

View File

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